Menu

#151 Convert locales to UTF-8

open
nobody
None
5
2015-09-24
2015-09-24
No

Currently, the locales shipped with SquirrelMail are in a variety of character sets and SquirrelMail uses the character set for the current locale in conjunction with new messages. This can cause a problem if the incoming message and the current locale have different character sets (e.g. if a person speaks both German and Turkish and can reply to messages in either). It also causes a problem with some HTTP servers.

I was wondering if you'd consider converting (at least most of) the locales to UTF-8. We've used the script at http://www.utf-8.sk/squirrelmail.txt with great success. The only other required change is to change the conditionals for tr_TR in include/languages.php to use en_US.UTF-8 instead of C, as using C results in garbled non-ASCII characters for Turkish when using UTF-8.

I've personally checked that at least German and Turkish render non-ASCII characters correctly with these changes, and that English, Spanish, and French produce intelligible results. I have no reason to believe that any other languages have problems, but I haven't checked them personally.

Discussion


Log in to post a comment.