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";
47 echo "== SJIS-2004 ==\n";
48 print mb_strlen("\x80\xA1", 'SJIS-2004') . "\n";
49 print mb_strlen("abc\xFD\xFE\xFF", 'SJIS-2004') . "\n";
51 echo "== SJIS-Mobile#DOCOMO ==\n";
52 print mb_strlen("\x80\xA1", 'SJIS-Mobile#DOCOMO') . "\n";
53 print mb_strlen("abc\xFD\xFE\xFF", 'SJIS-Mobile#DOCOMO') . "\n";
55 echo "== SJIS-Mobile#KDDI ==\n";
56 print mb_strlen("\x80\xA1", 'SJIS-Mobile#KDDI') . "\n";
57 print mb_strlen("abc\xFD\xFE\xFF", 'SJIS-Mobile#KDDI') . "\n";
59 echo "== SJIS-Mobile#SoftBank ==\n";
60 print mb_strlen("\x80\xA1", 'SJIS-Mobile#SoftBank') . "\n";
61 print mb_strlen("abc\xFD\xFE\xFF", 'SJIS-Mobile#SoftBank') . "\n";
93 == SJIS ==
105 == SJIS-2004 ==
108 == SJIS-Mobile#DOCOMO ==
111 == SJIS-Mobile#KDDI ==
114 == SJIS-Mobile#SoftBank ==