|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2009-02-12 10:06 UTC] max at injapan dot ru
[2009-02-16 15:13 UTC] max at injapan dot ru
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Fri Nov 21 05:00:01 2025 UTC |
Description: ------------ mb_convert_encoding converts symbols \xAD\xB5-\xAD\xBF incorrectly from EUC-JP to UTF-8. It's possible that some other symbols converted incorrectly too, but I have no possibility to check it to full extent. Unicode has corresponding codepoints, i.e. U+2161 for Ⅱ. Majority of EUC-JP texts is converted mormally. Reproduce code: --------------- echo mb_convert_encoding("\xAD\xB6", "UTF-8", "EUC-JP"); Expected result: ---------------- string ?Ⅱ? (U+2161) printed to STDOUT Actual result: -------------- string ??? printed to STDOUT