Re: Multibyte docs
| From: | Gabor Hojtsy | Date: | Sun, 04 May 2003 08:43:10 +0000 |
| Subject: | Re: Multibyte docs | ||
| References: | 1 2 | Groups: | php.doc |
| Request: | Send a blank email to phpdoc+get-969353138@lists.php.net to get a copy of this message | ||
Shouldn't this option list be in a table? It does not seem too appropriate for me to list the options in the text flow like this...
Goba
Moriyoshi Koizumi írta:
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/ MehdiRegarding page: http://www.php.net/manual/en/ref.mbstring.php Inside paragraph: Supported Character Encodings It says:-- PHP Documentation Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.phpAs of PHP 4.3.0, the following character encoding support will be addedexperimentaly [...]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