jeudi 26 mars 2015

Email with Thai language 's problems in webmail SquirrelMail on DA + PHP 5.5

Gmail ==> Header encoding to Subject: =?UTF-8?B?4LiX4...

Hotmail (Outlook) ==> Header encoding to Subject: =?windows-874?B?t7T...





[Old System] CentOS 5.x + PHP 5.3 + SquirrelMail Config Charset to TIS-620

cat /var/www/html/squirrelmail/config/config.php

$config_version = '1.4.0';

$squirrelmail_default_language = 'th_TH';

$default_charset = 'utf-8';

$lossy_encoding = false;

Tested send/receive The Email with Thai language Subject + Body + Reply to work normally both Hotmail and Gmail.






[New system] CentOS 7.x + PHP 5.5 + SquirrelMail



If I config $default_charset = 'ISO-8859-1';

tested received / sent The Email with Thai language will not work both Hotmaill and Gmail can read subject and body but unable encoding to Thai language.



If I config $default_charset = 'utf-8';

tested received / sent The Email with Thai language will work with Gmail but have a problem with Hotmail unreadable to read thai font.



If I config $default_charset = 'tis-620';

tested received / sent The Email with Thai language will work with Hotmaill but have a problem with Gmail unreadable to read thai font.





Any idea how to fix this problem?

:confused:



Thanks you..





Email with Thai language 's problems in webmail SquirrelMail on DA + PHP 5.5

Aucun commentaire:

Enregistrer un commentaire