mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
16 lines
1.2 KiB
JavaScript
16 lines
1.2 KiB
JavaScript
// Tests conversion from ISO-8859-7 to Unicode
|
||
|
||
load('CharsetConversionTests.js');
|
||
|
||
const inString = " !\"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_`abcdefghijklmnopqrstuvwxyz{|}~젩∀ㄵ├ŁかЛ<E3818B>굉낫독렇뭔뻤슭오좌쳐탬픽<ED83AC>盖誥國儺桐虜妹膊覆泗褻栒鴨鉛僥幽日全猝膣逮擢票亨涍<E4BAA8>";
|
||
|
||
const expectedString = " !\"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_`abcdefghijklmnopqrstuvwxyz{|}~\u00a0\u2018\u2019\u00a3\u20ac\u20af\u00a6\u00a7\u00a8\u00a9\u037a\u00ab\u00ac\u00ad\u2015\u00b0\u00b1\u00b2\u00b3\u0384\u0385\u0386\u00b7\u0388\u0389\u038a\u00bb\u038c\u00bd\u038e\u038f\u0390\u0391\u0392\u0393\u0394\u0395\u0396\u0397\u0398\u0399\u039a\u039b\u039c\u039d\u039e\u039f\u03a0\u03a1\u03a3\u03a4\u03a5\u03a6\u03a7\u03a8\u03a9\u03aa\u03ab\u03ac\u03ad\u03ae\u03af\u03b0\u03b1\u03b2\u03b3\u03b4\u03b5\u03b6\u03b7\u03b8\u03b9\u03ba\u03bb\u03bc\u03bd\u03be\u03bf\u03c0\u03c1\u03c2\u03c3\u03c4\u03c5\u03c6\u03c7\u03c8\u03c9\u03ca\u03cb\u03cc\u03cd\u03ce";
|
||
|
||
const aliases = [ "ISO-8859-7", "iso-8859-7", "greek", "greek8", "sun_eu_greek",
|
||
"iso_8859-7", "iso8859-7", "iso-ir-126", "elot_928",
|
||
"ecma-118", "csisolatingreek", "iso88597" ];
|
||
|
||
function run_test() {
|
||
testDecodeAliases();
|
||
}
|