installation problem, how about unicode support?

Having trouble installing serendipity?
Post Reply
mathias

installation problem, how about unicode support?

Post by mathias »

Hello there,

I installed serendipity on a Linux/PostGres/Unicode system. It worked fine but s9y seems to be implemented solely to work as a "LATIN1" system. That means that all posts that contain special (German) characters, which are transferred as UTF-8 characters produce error messages.

Is there a Plugin for Unicode support?

If not, is Unicode support planned?

Tanks a lot, Mathias
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: installation problem, how about unicode support?

Post by garvinhicking »

You can use Serendipity easily in a unicode environment if:

1. you edit your lang/serendipity_lang_de.inc.php file and change the CHARSET to 'UTF-8' and then save the file as UTF-8 byteformat.
2. You make sure your database has UTF-8 charsets for the tables

For Serendipity 0.9 we will try to make charsets independent from their language as we're working on finding another translation system...

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/
mathias

Character Encoding again...

Post by mathias »

Hello there,

thank you very much for the hint. The basic stuff now works fine. Except for the calendar on the right side. That doesn't show in Unicode, there are question marks instead.

http://www.mwellner.de/blog will show you what I mean.

Where are the files for the month names? I tried grep but it didn't help.

Bye, Mathias
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: Character Encoding again...

Post by garvinhicking »

Okay, the calendar draws its names from the system locale. You'll need to edit your language file once again and set the first locale to 'de_DE@UTF-8' or something like that, depending on your webserver setup.

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/
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: Character Encoding again...

Post by garvinhicking »

Okay, the calendar draws its names from the system locale. You'll need to edit your language file once again and set the first locale to 'de_DE@UTF-8' or something like that, depending on your webserver setup.

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/
mathias

thanks again

Post by mathias »

Hey Garvin,

thanks again for your quick reply. That is really appreciated. Now it seems to work!

Mathias
Post Reply