Lines Matching refs:SJIS
2 Exhaustive test of CP932 encoding verification and conversion (including 'SJIS-win' variant)
112 /* Now test 'SJIS-win' variant of CP932, which is really CP932 but with
115 * (which have conflicting uses), 'SJIS-win' maps them to appropriate
123 testAllValidChars($validChars, 'SJIS-win', 'UTF-16BE');
125 testValidString($cp932, $unicode, 'SJIS-win', 'UTF-16BE', false);
126 echo "SJIS-win verification and conversion works on all valid characters\n";
128 testAllInvalidChars($invalidChars, $validChars, 'SJIS-win', 'UTF-16BE', "\x00%");
129 echo "SJIS-win verification and conversion works on all invalid characters\n";
131 convertAllInvalidChars($invalidCodepoints, $fromUnicode, 'UTF-16BE', 'SJIS-win', '%');
132 echo "Unicode -> SJIS-win conversion works on all invalid codepoints\n";
140 convertInvalidString("\x80", "%", "SJIS-win", "UTF-8");
141 convertInvalidString("\xEA", "%", "SJIS-win", "UTF-8");
142 convertInvalidString("\x81\x20", "%", "SJIS-win", "UTF-8");
143 convertInvalidString("\xEA\xA9", "%", "SJIS-win", "UTF-8");
151 SJIS-win verification and conversion works on all valid characters
152 SJIS-win verification and conversion works on all invalid characters
153 Unicode -> SJIS-win conversion works on all invalid codepoints