From: Tomas K. <to...@us...> - 2007-08-05 15:07:27
|
> One of my squirrelmail users (I am using squirrelmail 1.4.10a) is Japanese. > To be able to read and reply mails in Japanese, I: > > - added the .php files in the eastasia directory to > www/squirrelmail/functions/decode. > > - set language=ja_JP in the users .pref file. > > This works OK. But then. The user lives in Norway, and wishes to use > iso-8859-1 charset to write Norwegian characters also. Is it possible to > support being able to write and reply with both character sets without > changing language for every time one replies/sends mail in the other > language? Like a "figure out character set by checking the email"? If > squirrelmail can not do it, is there anyone here that has managed to set > it up with another webmail package? Scripts can guess text language, but performance will be abysmal and it increases PHP requirements. > Right now, with language=ja_JP, charset is always set to iso-2022-jp in > outgoing mails, even if 8-bit Norwegian characters were typed. > > PS: I am sorry for asking this if it is documented somewhere, but I > didn't find anything about it. Tried fiddling with default_charset = > no_NO.UTF-8 in config.php, but it didn't seem to do what I want. Default charset applies only to US English translation. It is written in conf.pl and config_default.php. SquirrelMail has utf-8 package in Sourceforge downloads. It allows to use Japanese translation in utf-8 and write Norvegian and Japanese emails. https://sourceforge.net/project/showfiles.php?group_id=311&package_id=200705 -- Tomas |