Monat März

Random stuff about serendipity. Discussion, Questions, Paraphernalia.
Post Reply
testblogger

Monat März

Post by testblogger »

Es gibt bei mir ein hartnäckiges Problem (seit Version 0.7.1 bis 0.8beta neueste) bei der Datumsausgabe, es betrifft den Monat März, der wie folgt auf allen Seiten erscheint: März. Alle anderen Umlaute werden korrekt ausgegeben. Wo und wie lässt sich das beheben? Vielen Dank schon einmal, falls jemand weiterhelfen kann.
Martin
Regular
Posts: 90
Joined: Mon Sep 27, 2004 1:30 am
Location: Oslo
Contact:

Post by Martin »

If I read you correctly you have problems with the month March displaying incorrctly? (My german is only so-so). Have you checked the lang/serendipity_lang_de.php file?

-M
testblogger

Monat März

Post by testblogger »

You got it right: the german month name 'März' does not show up correctly. The output is März. I have gone through the lang/serendipity_lang_de.php file, but could not find month names there. Thanks anyway for your reply!
Martin
Regular
Posts: 90
Joined: Mon Sep 27, 2004 1:30 am
Location: Oslo
Contact:

Post by Martin »

I actually expected that wasn't it. It seems like the code is, at some point, being read wrong. I experienced the same kind of problems getting flash to write dynamically loaded text as UTF-8 to include norwegian special characters when updating from a text-file a while back. I'm not enough of a coder to tell you where this is happening though.

Perhaps Garvin or one of the other devs can check it out.


-m
Guest

Post by Guest »

It's definitly some UTF-8/ISO-LATIN-1-Problem. Maybe Garvin has an idea how to solve this.
testblogger

Monat März

Post by testblogger »

All other umlauts seem to work correctly. Does anybody know in which file the month names are translated into the different languages?
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: Monat März

Post by garvinhicking »

Hi!

First off, are you using the bundled lang/serendipity_lang_de.inc.php file without any changes to it? If so, you are running a ISO-8859-1 site, which is proper.

The Month name is emitted by the PHP server and uses the locale set on that webserver. So the webserver uses a UTF-8 locale instead of a German ISO-8859-1 one. Please contact your system administrator and ask him to please installa ISO-8859-1 locale. Serendipity probers for those:

german, de_DE, de, de_DE.ISO-8859-1, de_DE@euro, de_DE.ISO8859-1

Regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
Guest

Post by Guest »

Hello,

i have the same problem, all the things with calendar and date have the US format but i install the great s9y with german language.
My webspace provider have install : ISO-8859-1,utf-8;q=0.7,*;q=0.7
and he wouldn´t reconfigure the webserver :(.
What can i now to do to become a realy german webblog???
Thank you for help/answers.

wfg Peter
Guest

Post by Guest »

Here the URLs where the blog and info.php is :
http://blog.chpoc.net/
http://chpoc.net/info.php

but the other webblog, on the same webserver has no problem with the correct date/month, time - i don´t why...
http://blogger.chpoc.net/
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Post by garvinhicking »

Your webspace provider gave you a strange line what he has installed. The "q" stuff and so on comes from a browser and not a server.

Ask him which locales he has installed. It seems he didn't instead locales. Those look like: 'de', 'de_DE' or 'de_DE@ISO-8859-1'. Thus, completely different.

Without locales, you cannot get it to work, sorry.

Regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
Guest

Post by Guest »

Hello Garvin,

thank you for your help and explanations :), my provider has change the settings and now all work fine for me :).

best regards
Pit
Post Reply