Re: Multibyte ([PHP-INST] Re: "If-Modified-Since"..)
| From: | Yasuo Ohgaki | Date: | Wed, 16 Oct 2002 23:17:27 +0000 |
| Subject: | Re: Multibyte ([PHP-INST] Re: "If-Modified-Since"..) | ||
| References: | 1 2 3 4 | Groups: | php.dev php.install |
| Request: | Send a blank email to php-dev+get-89592@lists.php.net to get a copy of this message | ||
Forgot to what it's doing.
Since the multibyte char sequence is too short, mbstring
is failing to detect encoding correctly. In this case,
we can specify encoding or modify detect order.
--
Yasuo Ohgaki
Yasuo Ohgaki wrote:
Ryo Takagi wrote:If the line:This cannot be fixed. Check & modify your detect order by mb_detect_order(). -- Yasuo Ohgakiprint ( mb_convert_encoding( $jstr, "ISO-2022-JP" ) ) ;in this script is modified to:print ( mb_convert_encoding( $jstr, "ISO-2022-JP", "EUC-JP" ) ) ;then it works again.