Yasuo Ohgaki wrote:
>
> I don't have problem with mb_send_mail()/mail()/over_load.
>
> It sounds like you haven't set mb_language() to Japanese.
> You have to set appropriate language to encode mail messages
> correctly. Refer to mb_language() manual page.
mb_language() is set to Japanese. Before reporting the unexpected
behaviour, I ran the following tests. First by explicitly setting
mb_language("ja"); in my script before calling mb_send_mail(). That
produced the series of ??????????? Then I did
$language = mb_language();
echo "The language being used is $language";
mb_send_mail(etc, etc)
That printed out "The language being used is Japanese" and sent a mail
that was just a series of ?????????
In desperation, I tried using mail(). The contents arrived in correctly
formed kanji and kana.
I have checked both php.ini and the output of phpinfo().
Mbstring.func_overload is definitely set to "0". FWIW, the installation
of PHP 4.3.0 was compiled from the bz2 distribution dated 27 December on
the main UK mirror site.
David Powers
--
PHP Internationalization Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php