[dev] Problems using UTF8 with some languages (accents shown like chinese characters) patch

eculp at encontacto.net eculp at encontacto.net
Mon Oct 25 05:15:24 PDT 2004


Quoting Daniel Vandal <dvandal at infoteck.qc.ca>:

> Hi,
>
> I will try to re-explain the problem and what these patches does.
>
> The problem is that with some languages (French in my case) usign
> accents (à â ä ë é ê è ô ö î ï û ü, ... ), in many texts containing
> accents, the accents are displayed like chinese characters. In example,
> "Résidence" would be displayed  like "R?dence" (I'm not sure if you
> will se the chinese character). And the users using my Horde
> installations doesn't like this problem and this patch as make everybody
> very happy there.
>
> The cause is that NLS.php get from the browser UTF8 as the charset to
> use, but in our case we should use ISO-8859-1 (in French) to work
> properly without any problems.
>
> The patches add an Horde configuration option that, if set to true, will
> say to Horde to use the original po/<language>.po specified charset in
> NLS.php. So, by default Horde will act exactly as he currently does, but
> when enabled, Horde will use the locale specified original charset
> instead so this will solve the problem that some Horde users are expecting.

I would like to add that in Spanish it works great and allows us to "spell
check" again (in Spanish).  Something that had evaded us for months.

Thanks,

ed
>
> Patch tested with :
> - Mozilla Fixefox 0.9.3 and Microsoft Windows XP SP2
>   - Browser charset without patch : UTF8
>   - Browser charset with patch : ISO 8859 - 1
>
> - Internet Explorer 6 with Microsoft Windows XP SP 2
>   - Browser charset without patch : UTF8
>   - Browser charset with patch : ISO 8859 - 1
>
> - Internet Explorer 6 with Microsoft Windows 98 SE
>   - Browser charset without patch : UTF8
>   - Browser charset with patch : ISO 8859 - 1
>
> Daniel Vandal
> dvandal at infoteck.qc.ca
>
> Jan Schneider a écrit :
>
>> No, I'm not going to commit this. Please provide *exact* details what
>> happens when, what characters you get in which situation, what charset is
>> sent to the browser, what language you use, what charset your system uses
>> when you select this language etc.
>>
>> Jan.
>>
>
>
> -- Horde developers mailing list - Join the hunt: http://horde.org/bounties/
> Frequently Asked Questions: http://horde.org/faq/
> To unsubscribe, mail: dev-unsubscribe at lists.horde.org
>





More information about the dev mailing list