Lines Matching refs:SJIS
28 echo "== SJIS ==\n";
29 $sjis = mb_convert_encoding($euc_jp, 'SJIS','EUC-JP');
30 print mb_strlen($sjis,'SJIS') . "\n";
31 mb_internal_encoding('SJIS') or print("mb_internal_encoding() failed\n");
34 // mb_strlen used to wrongly treat 0x80 as the starting byte of a 2-byte SJIS character
35 print mb_strlen("\x80\xA1", 'SJIS') . "\n";
36 print mb_strlen("abc\xFD\xFE\xFF", 'SJIS') . "\n";
42 print mb_strlen("\x80\xA1", "SJIS-win") . "\n";
43 print mb_strlen("abc\xFD\xFE\xFF", 'SJIS-win') . "\n";
49 echo "== SJIS-2004 ==\n";
50 print mb_strlen("\x80\xA1", 'SJIS-2004') . "\n";
51 print mb_strlen("abc\xFD\xFE\xFF", 'SJIS-2004') . "\n";
53 echo "== SJIS-Mobile#DOCOMO ==\n";
54 print mb_strlen("\x80\xA1", 'SJIS-Mobile#DOCOMO') . "\n";
55 print mb_strlen("abc\xFD\xFE\xFF", 'SJIS-Mobile#DOCOMO') . "\n";
57 echo "== SJIS-Mobile#KDDI ==\n";
58 print mb_strlen("\x80\xA1", 'SJIS-Mobile#KDDI') . "\n";
59 print mb_strlen("abc\xFD\xFE\xFF", 'SJIS-Mobile#KDDI') . "\n";
61 echo "== SJIS-Mobile#SoftBank ==\n";
62 print mb_strlen("\x80\xA1", 'SJIS-Mobile#SoftBank') . "\n";
63 print mb_strlen("abc\xFD\xFE\xFF", 'SJIS-Mobile#SoftBank') . "\n";
111 == SJIS ==
125 == SJIS-2004 ==
128 == SJIS-Mobile#DOCOMO ==
131 == SJIS-Mobile#KDDI ==
134 == SJIS-Mobile#SoftBank ==