Re: mb_encode_mimeheader problem

From: Date: Wed, 26 Mar 2003 03:23:50 +0000
Subject: Re: mb_encode_mimeheader problem
References: 1  Groups: php.i18n 
Request: Send a blank email to php-i18n+get-516@lists.php.net to get a copy of this message
Hi, Gary Ross <php_i18n@j-w3.com> wrote: > When I try to use mb_encode_mimeheader on the subject line on an email > like so: > > $subject = mb_encode_mimeheader > ( > mb_convert_encoding($subject, "ISO-2022-JP","AUTO"), > "ISO-2022-JP", > "B" > ); > > the result is split up into a lots of parts something like this: > > "=?ISO-2022-JP?B?_SOMESTUFF_?=\n =?ISO-2022-JP?B?_SOMESTUFF2_?=\n > =?ISO-2022-JP?B?_SOMESTUFF3_?="; > The behaviour is not wrong, as mbstring is made to be compliant with RFC2047 (http://www.rfc-editor.org/rfc/rfc2047.txt). Moriyoshi

« previous php.i18n (#516) next »