mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
15 lines
946 B
JavaScript
15 lines
946 B
JavaScript
// Tests conversion from Unicode to ISO-8859-8
|
||
|
||
load('CharsetConversionTests.js');
|
||
|
||
const inString = " !\"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_`abcdefghijklmnopqrstuvwxyz{|}~\u00a0\u00a2\u00a3\u00a4\u00a5\u00a6\u00a7\u00a8\u00a9\u00d7\u00ab\u00ac\u00ad\u00ae\u00af\u00b0\u00b1\u00b2\u00b3\u00b4\u00b5\u00b6\u00b7\u00b8\u00b9\u00f7\u00bb\u00bc\u00bd\u00be\u2017\u05d0\u05d1\u05d2\u05d3\u05d4\u05d5\u05d6\u05d7\u05d8\u05d9\u05da\u05db\u05dc\u05dd\u05de\u05df\u05e0\u05e1\u05e2\u05e3\u05e4\u05e5\u05e6\u05e7\u05e8\u05e9\u05ea\u200e\u200f";
|
||
|
||
const expectedString = " !\"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_`abcdefghijklmnopqrstuvwxyz{|}~<7E>■ぅΗ┤<CE97><E294A4><EFBFBD>葦桶患況弦沙悉醤珀矣粤肄蓍裨跋鈿韵鴦<E99FB5><E9B4A6><EFBFBD>燾<EFBFBD>";
|
||
|
||
const aliases = [ "ISO-8859-8", "iso-8859-8", "hebrew", "visual", "iso_8859-8",
|
||
"iso8859-8", "iso-ir-138", "csisolatinhebrew", "iso88598" ];
|
||
|
||
function run_test() {
|
||
testEncodeAliases();
|
||
}
|