OLD | NEW |
1 This tests decoding characters in various character sets. | 1 This tests decoding characters in various character sets. |
2 | 2 |
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
". | 3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
". |
4 | 4 |
5 | 5 |
6 PASS decode('UTF-8', '%E2%88%9A') is 'U+221A' | 6 PASS decode('UTF-8', '%E2%88%9A') is 'U+221A' |
7 PASS decode('gb2312', '%A3%A0') is 'U+3000' | 7 PASS decode('gb2312', '%A3%A0') is 'U+3000' |
8 PASS decode('gb_2312-80', '%A3%A0') is 'U+3000' | 8 PASS decode('gb_2312-80', '%A3%A0') is 'U+3000' |
9 PASS decode('chinese', '%A3%A0') is 'U+3000' | 9 PASS decode('chinese', '%A3%A0') is 'U+3000' |
10 PASS decode('gbk', '%A3%A0') is 'U+3000' | 10 PASS decode('gbk', '%A3%A0') is 'U+3000' |
(...skipping 172 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
183 PASS decode('utf-7', '+AD4') is 'U+002B/U+0041/U+0044/U+0034' | 183 PASS decode('utf-7', '+AD4') is 'U+002B/U+0041/U+0044/U+0034' |
184 PASS decode('UTF-16LE', '%69%D8%D6%DE') is 'U+D869/U+DED6' | 184 PASS decode('UTF-16LE', '%69%D8%D6%DE') is 'U+D869/U+DED6' |
185 PASS decode('unicodeFEFF', '%69%D8%D6%DE') is 'U+D869/U+DED6' | 185 PASS decode('unicodeFEFF', '%69%D8%D6%DE') is 'U+D869/U+DED6' |
186 PASS decode('UTF-16', '%69%D8%D6%DE') is 'U+D869/U+DED6' | 186 PASS decode('UTF-16', '%69%D8%D6%DE') is 'U+D869/U+DED6' |
187 PASS decode('ISO-10646-UCS-2', '%69%D8%D6%DE') is 'U+D869/U+DED6' | 187 PASS decode('ISO-10646-UCS-2', '%69%D8%D6%DE') is 'U+D869/U+DED6' |
188 PASS decode('UCS-2', '%69%D8%D6%DE') is 'U+D869/U+DED6' | 188 PASS decode('UCS-2', '%69%D8%D6%DE') is 'U+D869/U+DED6' |
189 PASS decode('Unicode', '%69%D8%D6%DE') is 'U+D869/U+DED6' | 189 PASS decode('Unicode', '%69%D8%D6%DE') is 'U+D869/U+DED6' |
190 PASS decode('csUnicode', '%69%D8%D6%DE') is 'U+D869/U+DED6' | 190 PASS decode('csUnicode', '%69%D8%D6%DE') is 'U+D869/U+DED6' |
191 PASS decode('UTF-16BE', '%D8%69%DE%D6') is 'U+D869/U+DED6' | 191 PASS decode('UTF-16BE', '%D8%69%DE%D6') is 'U+D869/U+DED6' |
192 PASS decode('unicodeFFFE', '%D8%69%DE%D6') is 'U+D869/U+DED6' | 192 PASS decode('unicodeFFFE', '%D8%69%DE%D6') is 'U+D869/U+DED6' |
| 193 PASS decode('csiso2022kr', '%41%42%43%61%62%63%31%32%33%A0') is 'U+FFFD' |
| 194 PASS decode('hz-gb-2312', '%41%42%43%61%62%63%31%32%33%A0') is 'U+FFFD' |
| 195 PASS decode('iso-2022-cn', '%41%42%43%61%62%63%31%32%33%A0') is 'U+FFFD' |
| 196 PASS decode('iso-2022-cn-ext', '%41%42%43%61%62%63%31%32%33%A0') is 'U+FFFD' |
| 197 PASS decode('iso-2022-kr', '%41%42%43%61%62%63%31%32%33%A0') is 'U+FFFD' |
193 PASS successfullyParsed is true | 198 PASS successfullyParsed is true |
194 | 199 |
195 TEST COMPLETE | 200 TEST COMPLETE |
196 | 201 |
OLD | NEW |