|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #31279 mb_list_encodings Big5 not Big-5
Submitted: 2004-12-24 03:29 UTC Modified: 2005-02-21 10:50 UTC
From: rd dot contact at free dot fr Assigned:
Status: Not a bug Package: mbstring related
PHP Version: 5.0.3 OS: win
Private report: No CVE-ID: None
 [2004-12-24 03:29 UTC] rd dot contact at free dot fr
mb_list_encodings Returns Big-5, not Big5


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2004-12-24 03:44 UTC] rd dot contact at free dot fr
mb_list_encodings Returns Big-5, not Big5
 [2004-12-24 10:59 UTC]
Why is this a bug?
 [2004-12-24 15:42 UTC] rd dot contact at free dot fr
browser http header returns Big5 not Big-5 (tested on Mozilla(s) and Opera)
so you can detect if the browser charset is mb-compatible, with all exept for Big5, using a mb_list_encodings test.
 [2005-02-21 10:50 UTC]
Thank you for taking the time to write to us, but this is not
a bug. Please double-check the documentation available at and the instructions on how to report
a bug at

Encoding names returned by mb_list_encodings() are the 
names internally used in the mbstring extension. To 
convert these to the IANA registered counterparts, use 

foreach (mb_list_encodings() as $enc) {

PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sun Apr 14 11:01:29 2024 UTC