I am using CMS Made Simple with Finnish language chosen.
In the news section of my site, I get these symbols that to me seem to indicate that the character encoding is wrong somewhere.
You can see the behaviour live here, at the bottom left corner of the page in the news section. My CMS Made Simple should be using UTF-8 character encoding. When I set Firefox to use that encoding, my content shows up okay, but in the news, there is this text: joulu� 21, 2008. I am not sure if you see this, but there is this square with a question mark inside it, that is standing on its corner after the text "joulu".
If I set in Firefox character encoding into ISO-8859-1 Western, the symbol disappears, but my Finnish language umlauts become gibberish.
Is the translation file for Finnish in wrong encoding or what might be going on? Should I set my site to a different encoding?
Also, a minor thing, in Finland the dates are normally marked in the format 21.12.2008 or 21. joulukuu 2008. I would love if I could change this.
<SOLVED> In news, the date in Finnish seems to be in different encoding than...
<SOLVED> In news, the date in Finnish seems to be in different encoding than...
Last edited by mannerv on Thu Dec 25, 2008 12:25 pm, edited 1 time in total.
Re: In news, the date in Finnish seems to be in different encoding than the site
I noticed that in the news module the encoding seems to be wrong at the admin side also. I would love to fix this problem all around.
Can anyone point me in the right direction? Are there some translation files, where the month names are written in Finnish or where do the foreign month names come from?
Can anyone point me in the right direction? Are there some translation files, where the month names are written in Finnish or where do the foreign month names come from?
Re: In news, the date in Finnish seems to be in different encoding than the site
And more follow-up. This same problem happened at http://www.opensourcecms.com/cms/cmsmadesimple/.
The language of the site was French and in the News module, the name of the month was shown incorrectly.
With UTF-8 it was: d�c 9, 2008.
With ISO-8859-1 it was: déc 9, 2008.
The language of the site was French and in the News module, the name of the month was shown incorrectly.
With UTF-8 it was: d�c 9, 2008.
With ISO-8859-1 it was: déc 9, 2008.
Re: In news, the date in Finnish seems to be in different encoding than the site
It's only in dates (months) filtered by strftime - With Polish language is the same thing 
Its late, so I'm giving you 2 solutions for this problem in PL: http://forum.cmsmadesimple.org/index.ph ... l#msg88300

Its late, so I'm giving you 2 solutions for this problem in PL: http://forum.cmsmadesimple.org/index.ph ... l#msg88300
[url=http://www.polishwebdesign.pl/]Polish WebDesign Cezary Nowak
Projektowanie stron WWW[/ur]
Projektowanie stron WWW[/ur]
Re: In news, the date in Finnish seems to be in different en
Thank you. I think I was able to understand what was needed to do.
Here are the instructions in English.
edited by moderator.
More information at http://php.net/setlocale
Here are the instructions in English.
edited by moderator.
More information at http://php.net/setlocale
Re: <SOLVED> In news, the date in Finnish seems to be in dif
Polish isn't such hard, don't U think ? 
setlocale may be placed also in few additional modules, so You should check them all for setlocale LC_TIME and LC_ALL
edited by moderator.

setlocale may be placed also in few additional modules, so You should check them all for setlocale LC_TIME and LC_ALL
edited by moderator.
[url=http://www.polishwebdesign.pl/]Polish WebDesign Cezary Nowak
Projektowanie stron WWW[/ur]
Projektowanie stron WWW[/ur]
Re: In news, the date in Finnish seems to be in different en
[quote="mannerv"]Here are the instructions in English.
Open up the file /include.php at the CMSms installation root.
edited by moderator.
Thx! straight solution to my problem in the first google-hit
. Nice, you made my day.
NXTHOR
Open up the file /include.php at the CMSms installation root.
edited by moderator.
Thx! straight solution to my problem in the first google-hit

NXTHOR