Re: Re: Multibyte ([PHP-INST] Re: "If-Modified-Since"..)
| From: | Masaki Fujimoto | Date: | Thu, 17 Oct 2002 01:43:38 +0000 |
| Subject: | Re: Re: Multibyte ([PHP-INST] Re: "If-Modified-Since"..) | ||
| References: | 1 2 | Groups: | php.dev php.install |
| Request: | Send a blank email to php-dev+get-89597@lists.php.net to get a copy of this message | ||
nah...
"If it(==from_encoding) is not specified, the internal encoding will be
used." (http://jp.php.net/manual/en/function.mb-convert-encoding.php)
so it's just because mbstring.internal_encoding is not properly set?
Masaki Fujimoto
On Thu, 17 Oct 2002 08:17:27 +0900
Yasuo Ohgaki <yohgaki@ohgaki.net> wrote:
> 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