PHP text encoding transformation using SJIS-win rather than SJIS, using eucJP-win rather than EUC-JP using SJIS-win rather than SJIS, use eucJP-win instead of EUC-JPFrom: pentan.infophpsjiswin_eucjpwin.html to specify the text encoding transformation. if you want to use Shift_JIS, use the SJI text encoding in PHP to convert the use of SJIS-win instead of SJIS, use eucJP-win instead of EUC-JP
Use SJIS-win instead of SJIS, use eucJP-win instead of EUC-JP
From: http://pentan.info/php/sjiswin_eucjpwin.html
To use Shift_JIS, use SJIS-win instead of SJIS.
To use the EUC-JP, use eucJP-win instead of EUC-JP.
With Windows, you can smoothly change the extended Windows text.
In addition, other purposes of the text encoding, designated as SJIS, EUC-JP does not matter.
PHP can use text encoding. use mb_list_encodings () to obtain the encoding list.
By the way, in HTML, you can specify the Shift_JIS, EUC-JP (alias for Extended Unix Code Packed Format for Japan ),
UTF-9 and so on.
Example: text encoding that can be used in PHP
passautowcharbyte2bebyte2lebyte4bebyte4leBASE64UUENCODEHTML-ENTITIESQuoted-Printable7bit8bitUCS-4UCS-4BEUCS-4LEUCS-2UCS-2BEUCS-2LEUTF-32UTF-32BEUTF-32LEUTF-16UTF-16BEUTF-16LEUTF-8UTF-7UTF7-IMAPASCIIEUC-JPSJISeucJP-winSJIS-winCP51932JISISO-2022-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-RArmSCII-8