"Translate" PHP with text encoding transforms using Sjis-win instead of Sjis, using Eucjp-win rather than EUC-JP
Using Sjis-win instead of Sjis, use Eucjp-win instead of EUC-JP
From:http://pentan.info/php/sjiswin_eucjpwin.html
In the designation of the text encoding transformation, if you want to use Shift_JIS, use Sjis-win instead of Sjis.
If you want to use EUC-JP, please use Eucjp-win instead of EUC-JP.
With win, even the Windows Extended text can be transformed smoothly.
In addition, other uses of the text encoding, designated as SJIS, EUC-JP also does not matter.
PHP can be used in the text encoding, with mb_list_encodings () can get the list of encodings.
By the way, in HTML, you can specify Shift_JIS, EUC-JP (Extended Unix Code Packed The alias of the Format for Japanese),
UTF-9 and so on.
Example: Text encoding that can be used in PHP
Passautowcharbyte2bebyte2lebyte4bebyte4lebase64uuencodehtml-entitiesquoted-printable7bit8bitucs-4ucs-4beucs-4leucs-2ucs-2 beucs-2leutf-32utf-32beutf-32leutf-16utf-16beutf-16leutf-8utf-7utf7-imapasciieuc-jpsjiseucjp-winsjis-wincp51932jisiso-202 2- Jpiso-2022-jp-mswindows-1252iso-8859-1iso-8859-2iso-8859-3iso-8859-4iso-8859-5iso-8859-6iso-8859-7iso-8859-8iso-8859-9iso -8859-10iso-8859-13iso-8859-14iso-8859-15iso-8859-16euc-cncp936hzeuc-twbig-5euc-kruhciso-2022-krwindows-1251cp866koi8-rar MSCII-8