Re: Re: Mbstring.func_overload in 4.3.0

From: Date: Mon, 06 Jan 2003 10:39:42 +0000
Subject: Re: Re: Mbstring.func_overload in 4.3.0
References: 1 2  Groups: php.i18n 
Request: Send a blank email to php-i18n+get-389@lists.php.net to get a copy of this message
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

« previous php.i18n (#389) next »