|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2018-03-16 16:17 UTC] cmb@php.net
-Status: Open
+Status: Verified
[2018-03-16 16:17 UTC] cmb@php.net
|
|||||||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sun Oct 26 01:00:01 2025 UTC |
Description: ------------ mb_convert_encoding supports a charset known as "shift-jis", an old japanese character set, but it seems to be undocumented.. also my only test data is a bunch of vulgar japanese text, sorry about that :/ ... i don't understand/write/speak japanese myself Test script: --------------- <?php $str=base64_decode("g2+DQ4N1g4yBW4NegVuCxZbjgqaCxIKigumOcILwinmCtYLegsiC8YLE"); var_dump(mb_convert_encoding($str,'utf-8','shift-jis'));