訓練家的佈弱格-Patch1.2

The BLOG of trainer



編輯日期:2010-12-15 13:04

類型:Linux 心得
作者:羽山
文章時間:2010-12-15 13:04:36
瀏覽人數:4365人
標題: squirrelmail + squirrelmail-decode-1.2 , reply failure big5 gb2312 ...
網址:http://3wa.tw/blog/blog.php?id=1105
內容:
 

while you installed squirrelmail-decode-1.2

but still had the problem about "REPLY" charset error . (big5、gb2312...)

just edit " SRC/compose.php"

about... 930~950

 

            default:
                break;
        }
        session_write_close();
        sqimap_logout($imapConnection);
    }
    +// 3wa start
    +$send_to=mb_convert_encoding($send_to,$default_charset,'UTF-8');
    +$send_to_cc=mb_convert_encoding($send_to_cc,$default_charset,'UTF-8');
    +$send_to_bcc=mb_convert_encoding($send_to_bcc,$default_charset,'UTF-8');
    +$subject=mb_convert_encoding($subject,$default_charset,'UTF-8');
    +$mailprio=mb_convert_encoding($mailprio,$default_charset,'UTF-8');
    +$body=mb_convert_encoding($body,$default_charset,'UTF-8');
    +$identity=mb_convert_encoding($identity,$default_charset,'UTF-8');
    +// 3wa end
    $ret = array( 'send_to' => $send_to,
            'send_to_cc' => $send_to_cc,
            'send_to_bcc' => $send_to_bcc,
            'subject' => $subject,
            'mailprio' => $mailprio,
            'body' => $body,
            'identity' => $identity );

 

That's all, you win.

首頁  上十頁  上一頁  1 下一頁    最末頁 (總共有...1頁)

第 1 頁

有話要說  看留言 【0】
其他分類
當月訓練
(2010-12-31)
【心情抒發】玩車,還是被車玩,你自己想想

(2010-12-17)
【網誌】TinyMCE + flvplayer Demo

(2010-12-15)
【Linux 心得】squirrelmail + squirrelmail-decode-1.2 , reply failure big5 gb2312 ...

(2010-12-05)
【網誌】加快了一些網頁開啟的速度

最新訓練
(2024-03-09)
【HONDA CBR1000RR】CBR1000RR 原廠管

(2024-02-24)
【NSR 150】NSR150 整理後卡鉗

(2024-02-14)
【機車綜合相關】買了牧田的打氣機與心得

(2024-02-10)
【NSR 150】NSR150 整流器接頭重作

(2024-02-09)
【機車綜合相關】鋰電、鋰鐵電池、電源充電器

(2024-01-07)
【NSR 150】NSR150 貨架耳朵斷裂維修

(2024-01-06)
【KTM 390】KTM Duke390 維修發電問題 電盤內仁

(2023-12-29)
【NSR 150】NSR150 改可調拉桿

(2023-11-20)
【遊戲 / 生活】防盜洗手罐

(2023-11-17)
【KTM 390】KTM Duke390 製作鋰鐵電池