> > Dear squirrelmail sages, > > > > I do not know whether this is a topic for the i18n list, but I am trying > this one because it is not really about translation. I use the interface in > english, and I am not about / do not want to change that. > > Because I am currently working for a NGO located in Thailand, working on > Tsunami relief, I do need my users to be able to compose emails in Thai. > Now, I use mozilla thunderbird with imap support on my local machine, > and to send emails in thai, I simply changed the character set to UTF-8. > Just like I'd do on a HTML page. > > > I use mozilla firefox. The character set on firefox is ISO-8859-1. > Changing it to UTF-8 did not help me.
don't do that. browser does not send information about client changes in used character set. > This seems to work fine, and when sending an email and accessing it with > squirrelmail, it does display right. However: > > - when I reply to that message, I get garbage instead of the Thai > characters. The compose window does not seem to be able to handle unicode > characters? > - I changed the "default_charset" value to "UTF-8" (with "UTF" > being capitalized), however that did not fix the problem. > - As I cannot compose in Thai, to test, I copy and paste thai characters > from another application. They display fine in the compose window. > However, when I send the mail, and access it later- either in squirrelmail > or in thunderbird- I get this in the squirrelmail display window: > > > หน้าของ > ประเทศไทย If you use symbols unsupported by used character set, Firefox sends them as html entities. IE converts them to other character set. > instead of Thai characters. > > When I look at the HTML source code for this mail that does not display > Thai characters correctly, I see "&#3627". So squirrelmail is > replacing the "&" with "&" when displaying the email and therefore it > is not displayed correctly. SquirrelMail displays them correctly. You are not supposed to use html formating in plain text email. html entities from plain text emails are displayed as html entity codes in SquirrelMail. > However the problem seems to be related to how the compose window sends > the mail, since it displays fine when I send it from thunderbird? Used SquirrelMail version? Older SquirrelMail versions ignore $default_charset configuration variable, because it is possible to misconfigure interface. 1.4.5 uses $default_charset only with en_US translation. Could you select Russian or Lithuanian translation and try composing emails in them? If your SquirrelMail installation does not have locale/ru_RU, locale/lt_LT and other translation files, interface will remain in English. SquirrelMail supports utf-8. If you use utf-8 or any other multibyte character set, use of SquirrelMail 1.4.6cvs or 1.5.1cvs and PHP with mbstring extension is recommended. Older SquirrelMail versions don't encode headers correctly. If mbstring extension is not present, interface does not break, but it reverts to broken quoted-printable encoding. -- Tomas ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click -- squirrelmail-users mailing list Posting Guidelines: http://www.squirrelmail.org/wiki/MailingListPostingGuidelines List Address: [email protected] List Archives: http://news.gmane.org/thread.php?group=gmane.mail.squirrelmail.user List Archives: http://sourceforge.net/mailarchive/forum.php?forum_id=2995 List Info: https://lists.sourceforge.net/lists/listinfo/squirrelmail-users
