From: alan p. <al...@12...> - 2004-12-08 11:11:08
|
Tomas Kuliavas wrote: >>Tomas Kuliavas wrote: >>...snip... >> >>>Are you using squirrelmail package created by redhat? Is it downloaded >>>from squirrelmail.org? There are some differences between RedHat/Fedor= a >>>and squirrelmail packages. >> >>i'm using the RedHat RPM on both systems i've tested with. >=20 >=20 > can you provide URL to that RPM or send me packed /usr/share/squirrelma= il > directory. contents of locale directory can be removed in order to redu= ce > file size. Or you can send only /usr/share/squirrelmail/functions/i18n.= php > file. >=20 > Japanese translation uses mbstring functions to encode header. In > SquirrelMail 1.4.4cvs (php 4.3.8) subject [Fwd: WEB > =E3=83=A1=E3=83=BC=E3=83=AB=E3=81=AE=E4=BB=B6=E5=90=8D=E3=81=8C=E5=8C=96= =E3=81=91=E3=81=BE=E3=81=99 ] is encoded as >=20 > Subject: [Fwd: WEB > =3D?ISO-2022-JP?B?GyRCJWEhPCVrJE43b0w+JCwyPSQxJF4kORsoQg=3D=3D?=3D ] >=20 > This formating is correct. Line feed is added because header line is to= o > 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. >=20 > In your case (Subject: [Fwd: > WEB=3D?ISO-2022-JP?B?GyRCJWEhPCVrJE43b0w+JCwyPSQxJF4kORsoQg=3D=3D? = ]) > 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 '?=3D' >=20 > If RedHat haven't changed japanese_charset_xtra function, then php > mb_encode_mimeheader function is broken. >=20 > If you understand Japanese, can you translate > ---- > =E4=BB=B6=E5=90=8D=E3=81=8C=E3=82=82=E3=81=A8=E3=82=82=E3=81=A8=E3=81=AF= =E3=80=8C=E6=B8=AC=E7=94=A8URL=E7=99=BA=E8=A1=8C=E3=81=AE=E5=BE=A1=E9=A1=98= =E3=81=84=E3=80=8D=E3=81=AA=E3=81=AE=E3=81=AB=E3=80=81=E8=BF=94=E4=BF=A1=E3= =82=92=E3=81=99=E3=82=8B=E3=81=A8 > =E3=81=93=E3=81=AE=E3=82=88=E3=81=86=E3=81=AB=E5=8C=96=E3=81=91=E3=81=A6= =E3=81=97=E3=81=BE=E3=81=BE=E3=81=99=E3=80=82 > =E3=80=8CRe: =E6=B8=AC=E7=94=A8URL=3D ?ISO-2022-JP?B?GyRCSC85VCROOGY0ai= QkGyhC?=3D=E3=80=8D > ---- > If it is about extra space added before ], then it is a bug is > SquirrelMail. There might be problems with multiline headers. >=20 > P.S. There is no need to cc. I get message from the list. ok, i just hit Reply-to-all as a matter of habit. here's my php info: [root@mail libintl-perl-1.11]# php -v PHP 4.3.9 (cli) (built: Oct 21 2004 12:19:10) Copyright (c) 1997-2004 The PHP Group Zend Engine v1.3.0, Copyright (c) 1998-2004 Zend Technologies built from source with the gettext and mbstring options enabled. how should i send you the i18n.php file? I'm assuming that it'll be=20 easier to just send you the one file if that's all you need. thanks. P.S. Paul kindly translated the message, which was in fact from the user=20 that reported the problem. please note that in the problem url there is=20 a space that made it in between the =3D and the ? of the encoding string.= =20 (which i'm guessing is why it was displayed as it is) alan |