ID:               31279
 Updated by:       [EMAIL PROTECTED]
 Reported By:      rd dot contact at free dot fr
-Status:           Open
+Status:           Bogus
 Bug Type:         mbstring related
 Operating System: win
 PHP Version:      5.0.3
 New Comment:

Thank you for taking the time to write to us, but this is not
a bug. Please double-check the documentation available at
http://www.php.net/manual/ and the instructions on how to report
a bug at http://bugs.php.net/how-to-report.php

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 
mb_preferred_mime_name().

<?php
foreach (mb_list_encodings() as $enc) {
    var_dump(mb_preferred_mime_name($enc));
}
?>




Previous Comments:
------------------------------------------------------------------------

[2004-12-24 15:42:36] 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.

------------------------------------------------------------------------

[2004-12-24 10:59:57] [EMAIL PROTECTED]

Why is this a bug?

------------------------------------------------------------------------

[2004-12-24 03:44:05] rd dot contact at free dot fr

mb_list_encodings Returns Big-5, not Big5

------------------------------------------------------------------------

[2004-12-24 03:29:37] rd dot contact at free dot fr

Description:
------------
mb_list_encodings Returns Big-5, not Big5



------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=31279&edit=1

Reply via email to