Squirrelmail 亂碼

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

簡單的改法就是
squirrelmail/functions/i18n.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';

這樣就成了…..

About johnpupu

..........
This entry was posted in FreeBSD and tagged . Bookmark the permalink.

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

*
To prove you're a person (not a spam script), type the security word shown in the picture. Click on the picture to hear an audio file of the word.
Click to hear an audio file of the anti-spam word