Page 1 of 1

Problems with locales

Posted: Thu Mar 22, 2007 3:42 pm
by Dawn
Hi,

I recognized today that some strings on my blog doesn't use the right locales. I've searched through the forums for a solution but I can't finde one.

You can take a look to my (german) blog @ http://blog.blankster.info

As you can see the whole database-content (blog entry, categories, months) is displayed correctly (UTF-8). What's strange:
März 2007
Februar 2007
Januar 2007
Das neueste ...
Älteres ...
In admin-area and in the link "full text of the entry" are all umlauts wrong too. When I change in the settings the charset to "national charset" all errors which occure are now ok but the thing which were ok are displayed now wrong.

I've installed the following charsets on my server:

Code: Select all

de_DE@euro ISO-8859-15
de_CH ISO-8859-1
de_CH.UTF-8 UTF-8
de_DE ISO-8859-1
de_DE.UTF-8 UTF-8
de_DE.UTF-8@euro UTF-8
en_US ISO-8859-1
en_US.ISO-8859-15 ISO-8859-15
en_US.UTF-8 UTF-8
Do you have an idea what the problem can be?

Greets and thanks,
Dawn

Re: Problems with locales

Posted: Thu Mar 22, 2007 3:46 pm
by garvinhicking
Hi!

Your locales are right, else the Month name would not be displayed correctly.

What instead seems wrong is your lang/UTF-8/serendipity_lang_de.inc.php file. Did you edit that file and saved it in ISO-format instead of UTF-8?

Please simply restore the original serendipity_lang_de.inc.php file and all should be well again. If you need to edit the file, use an UTF-8 aware editor.

HTH,
Garvin

Posted: Thu Mar 22, 2007 4:08 pm
by Dawn
Thanks a lot for your fast answer! That solved my problem...

The strange thing is I didn't edited the language files. Is there anything other which can change these files? I'm the admin of my server and nobody else hase rights to access my files.

Greets and Thanks again,
Dawn

Posted: Fri Mar 23, 2007 9:35 am
by garvinhicking
Hi!

Hm, no, actually there is no plugin that writes to the language files...so only a FTP editor or some other user interaction could touch that file...

Best regards,
Garvin

Posted: Fri Mar 23, 2007 10:24 am
by Dawn
Very strange... I'm so sure that I didn't have edited this file or in general the files of Serendipity. But thanks again for your help :) It's nice that it is working now...

Greets and best regards,
Dawn