Doc #69559 [Opn->Ver]: mb_language() default is "neutral", and the possible languages are more broad

From: Date: Tue, 03 Nov 2020 17:39:02 +0000
Subject: Doc #69559 [Opn->Ver]: 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-18070@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:         cmb@php.net
 Reported by:        bishop@php.net
 Summary:            mb_language() default is "neutral", and the possible
                     languages are more broad
-Status:             Open
+Status:             Verified
 Type:               Documentation Problem
 Package:            mbstring related
 PHP Version:        5.6.8
-Assigned To:        
+Assigned To:        cmb
 Block user comment: N
 Private report:     N



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


Thread (4 messages)

« previous php.doc.bugs (#18070) next »