mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
16 lines
902 B
JavaScript
16 lines
902 B
JavaScript
// Tests conversion from ISO-8859-6 to Unicode
|
|
|
|
load('CharsetConversionTests.js');
|
|
|
|
const inString = " !\"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_`abcdefghijklmnopqrstuvwxyz{|}~ ¤¬»¿ÁÂÃÄÅÆÇÈÉÊËÌÍÎÏÐÑÒÓÔÕÖ×ØÙÚàáâãäåæçèéêëìíîïðñò";
|
|
|
|
const expectedString = " !\"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_`abcdefghijklmnopqrstuvwxyz{|}~\u00a0\u00a4\u060c\u00ad\u061b\u061f\u0621\u0622\u0623\u0624\u0625\u0626\u0627\u0628\u0629\u062a\u062b\u062c\u062d\u062e\u062f\u0630\u0631\u0632\u0633\u0634\u0635\u0636\u0637\u0638\u0639\u063a\u0640\u0641\u0642\u0643\u0644\u0645\u0646\u0647\u0648\u0649\u064a\u064b\u064c\u064d\u064e\u064f\u0650\u0651\u0652";
|
|
|
|
const aliases = [ "ISO-8859-6", "iso-8859-6", "iso_8859-6", "iso8859-6",
|
|
"arabic", "iso-ir-127", "ecma-114", "asmo-708",
|
|
"csisolatinarabic", "iso88596" ];
|
|
|
|
function run_test() {
|
|
testDecodeAliases();
|
|
}
|