|
From: Tomas K. <to...@us...> - 2004-12-08 10:20:01
|
> Tomas Kuliavas wrote: > ...snip... >> Are you using squirrelmail package created by redhat? Is it downloaded >> from squirrelmail.org? There are some differences between RedHat/Fedora >> and squirrelmail packages. > i'm using the RedHat RPM on both systems i've tested with. can you provide URL to that RPM or send me packed /usr/share/squirrelmail directory. contents of locale directory can be removed in order to reduce file size. Or you can send only /usr/share/squirrelmail/functions/i18n.php file. Japanese translation uses mbstring functions to encode header. In SquirrelMail 1.4.4cvs (php 4.3.8) subject [Fwd: WEB メールの件名が化けます ] is encoded as Subject: [Fwd: WEB =?ISO-2022-JP?B?GyRCJWEhPCVrJE43b0w+JCwyPSQxJF4kORsoQg==?= ] This formating is correct. Line feed is added because header line is too long. If you use SquirrelMail message_details plugin to view message source - there is a small bug in plugin that strips spaces from the beginning of the line. In your case (Subject: [Fwd: WEB=?ISO-2022-JP?B?GyRCJWEhPCVrJE43b0w+JCwyPSQxJF4kORsoQg==? ]) formating is broken in two places. 1. there is no space between WEB and B encoded part of header. 2. B encoding format is not correct. it must end with '?=' If RedHat haven't changed japanese_charset_xtra function, then php mb_encode_mimeheader function is broken. If you understand Japanese, can you translate ---- 件名がもともとは「測用URL発行の御願い」なのに、返信をすると このように化けてしまます。 「Re: 測用URL= ?ISO-2022-JP?B?GyRCSC85VCROOGY0aiQkGyhC?=」 ---- If it is about extra space added before ], then it is a bug is SquirrelMail. There might be problems with multiline headers. P.S. There is no need to cc. I get message from the list. -- Tomas |