I noticed it in the new 1.5.3 version.
When i do a new article news, the title is on cirylic language \i use UTF-8 anywhere i can\.
On the front end, when the page is loaded, the news articles titles on left "short" news side are showing normal, except the mouse over comment, which is coming like this : �а��и по повод нови� �ай�
When i click on the article and it is loaded on the right content page side, the title become in the "wrong" way:
�а��и по повод нови� �ай�
I converted all module news templates in UTF-8. And the problem is still up.
Someone to know wich file exactly is the encoding problem with the title?
[SOLVED]News Module - Problem with Title field Encoding in ver. 1.5.3 CMSMS
[SOLVED]News Module - Problem with Title field Encoding in ver. 1.5.3 CMSMS
Last edited by webboy33 on Thu Mar 26, 2009 7:51 am, edited 1 time in total.
Re: News Module - Problem with Title field Encoding in ver. 1.5.3 CMSMS
The problem is the core function in CMSMS /lib/smarty/plugins/modifier.escape.php
If you use utf-8 you have to change the function to
or use full modifier in the news template
Code: Select all
function smarty_modifier_escape($string, $esc_type = 'html', $char_set = 'ISO-8859-1')
Code: Select all
function smarty_modifier_escape($string, $esc_type = 'html', $char_set = 'utf-8')
Code: Select all
{$entry->title|escape:'html':'utf-8'}
Re: News Module - Problem with Title field Encoding in ver. 1.5.3 CMSMS
Спосибо, Соня! 
Меня из Болгария.
You are very deep in CMSMS, i am impressed!
I just wake up this morning with the thought to change back in 1.5.2 version. But when i read your post now, you make my day sunny
.

Меня из Болгария.
You are very deep in CMSMS, i am impressed!
I just wake up this morning with the thought to change back in 1.5.2 version. But when i read your post now, you make my day sunny

-
- Forum Members
- Posts: 36
- Joined: Sat Jun 27, 2009 10:52 am
Re: [SOLVED]News Module - Problem with Title field Encoding in ver. 1.5.3 CMSMS
U can use {news lang='ru-RU'}