Doc #69559 [Ver->Csd]: mb_language() default is "neutral", and the possible languages are more broad
| From: | phpdocbot@php.net | Date: | Tue, 03 Nov 2020 17:42:11 +0000 |
| Subject: | Doc #69559 [Ver->Csd]: mb_language() default is "neutral", and the possible languages are more broad | ||
| References: | 1 | Groups: | php.doc.bugs |
| Request: | Send a blank email to doc-bugs+get-18071@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=69559&edit=1
ID: 69559
Updated by: phpdocbot@php.net
Reported by: bishop@php.net
Summary: mb_language() default is "neutral", and the possible
languages are more broad
-Status: Verified
+Status: Closed
Type: Documentation Problem
Package: mbstring related
PHP Version: 5.6.8
Assigned To: cmb
Block user comment: N
Private report: N
New Comment:
Automatic comment on behalf of cmb
Revision: http://git.php.net/?p=doc/en.git;a=commit;h=3e6615fced0073cd66023d92b722ca56142a0f89
Log: Fix #69559: mb_language() default is "neutral", and the possible languages
are more broad
Previous Comments:
------------------------------------------------------------------------
[2015-05-01 17:33:25] bishop@php.net
And, actually, there are aliases that are valid too:
Deutsch
universal
------------------------------------------------------------------------
[2015-05-01 17:28:44] bishop@php.net
Description:
------------
---
From manual page: http://www.php.net/function.mb-language
---
By default, mb_language returns "neutral", per:
https://github.com/php/php-src/blob/PHP-5.6.8/ext/mbstring/mbstring.c#L1473
Further, the list of possible languages are:
German
English
Armenian
Japanese
Korean
neutral
Russian
Turkish
Ukrainian
uni
Simplified Chinese
Traditional Chinese
As found in the C files from:
https://github.com/php/php-src/tree/PHP-5.6.8/ext/mbstring/libmbfl/nls
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=69559&edit=1