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: >> >> print ( 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. > > > This cannot be fixed. Check & modify your detect order by > mb_detect_order(). > > -- > Yasuo Ohgaki > > > -- PHP Install Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php