Re: Multibyte docs

From: Date: Sat, 03 May 2003 21:41:19 +0000
Subject: Re: Multibyte docs
References: 1  Groups: php.doc 
Request: Send a blank email to phpdoc+get-969353121@lists.php.net to get a copy of this message
Hi, Although there are some significant errata in the page just referred to, and so the document doesn't reflect the reality, it should be mentioned at least. <quote> Note: As of PHP 4.3.0, the option --enable-mbstring will be enabled by default and replaced with --with-mbstring[=LANG] to support Chinese, Korean and Russian language support. Japanese character encoding is supported by default. If --with-mbstring=cn is used, simplified chinese encoding will be supported. If --with-mbstring=tw is used, traditional chinese encoding will be supported. If --with-mbstring=kr is used, korean encoding will be supported. If --with-mbstring=ru is used, russian encoding will be supported. If --with-mbstring=all is added, all supported character encoding in mbstring will be enabled, but the binary size of PHP will be maximized because of huge Unicode character maps. Note that Chinese, Korean and Russian encoding is experimentally supported in PHP 4.3.0. </quote> Therefore cp1251 encoding isn't available unless you have configured your build with --enable-mbstring=all or --enable-mbstring=ru. Regards, Moriyoshi "Mehdi Achour" <didou@keliglia.com> wrote: > Hi, > > Please fill in a bug report at http://bugs.php.net/ > > Mehdi > > > > Regarding page: > > http://www.php.net/manual/en/ref.mbstring.php > > > > Inside paragraph: > > Supported Character Encodings > > > > It says: > >>As of PHP 4.3.0, the following character encoding support will be added > > experimentaly > > [...] > >>Windows-1251 (CP1251) > > [...] > > > > Incidentally, note that "experimentally" is misspelled with a single L. > > > > I'm working with 4.3 and the above text seems incorrect. If I try: > > mb_convert_encoding("whatever", "Windows-1251", "UTF-8"); > > Or even: > > mb_convert_encoding("whatever", "CP1251", "UTF-8"); > > > > I get: > > Warning: mb_convert_encoding() [function.mb-convert-encoding]: Unknown > > encoding "Windows-1251" > > > > L.A. > > > > > > -- > > PHP Documentation Mailing List (http://www.php.net/) > > To unsubscribe, visit: http://www.php.net/unsub.php > > > > > -- > PHP Documentation Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php >

« previous php.doc (#969353121) next »