QuickCallendar is not UTF-8 in spanish!

Found a bug? Tell us!!
Post Reply
Renich

QuickCallendar is not UTF-8 in spanish!

Post by Renich »

I am using Kubrick template.

If you configure the s9y to use UTF-8 as default encoding, and set the default laguage to spanish, you get ONLY (as far as I can see) the Callendar wrong.

It should say Mié and Sáb... not Mi? and S?b

The workarround is NOT to set UTF-8 as default charset... but native is ISO-8859-15 (that's Europe and I live in México).

Is there a simple solution?

Thanks
renich@woralelandia.com
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: QuickCallendar is not UTF-8 in spanish!

Post by garvinhicking »

The calendar uses your System locales. So to use a UTF-8 Charset, your server locale must support the Spanish UTF-8 locale. Earlier s9y versions defined the locale for UTF-8 at the end of lcales so it could happen that a ISO-locale was first loaded before UTF-8.

This has changed in recent s9y snapshots and will be part of a new release; you could overwrite the UTF-8/serendipity_lang_es.inc.php file with the one from a recent snapshot to try if this helps...

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/
Post Reply