Squirrelmail亂碼

忘了從 1.4.1X 開始
zh_TW編碼就是
設成UTF8
這樣big5 的mail 會是亂碼

簡單的改法就是
squirrelmail/functions/i18n.php

[sourcecode language=’php’]

//$languages[‘zh_TW’][‘NAME’] = ‘Chinese Trad’;
//$languages[‘zh_TW’][‘CHARSET’] = ‘utf-8’;
//$languages[‘zh_TW’][‘LOCALE’] = ‘zh_TW.UTF-8’;
//$languages[‘tw’][‘ALIAS’] = ‘zh_TW’;

$languages[‘zh_TW’][‘NAME’] = ‘Chinese Trad’;
$languages[‘zh_TW’][‘CHARSET’] = ‘Big5’;
$languages[‘zh_TW’][‘LOCALE’] = ‘zh_TW.Big5’;
$languages[‘tw’][‘ALIAS’] = ‘zh_TW’;

[/sourcecode]
這樣就成了…..

發佈留言

這個網站採用 Akismet 服務減少垃圾留言。進一步了解 Akismet 如何處理網站訪客的留言資料