1. Virgil Dupras
  2. mozilla-central

Commits

Aryeh Gregor  committed 506a35d Draft

Bug 802059 - Implement labels for existing encodings from the encoding spec; r=smontagu

  • Participants
  • Parent commits b23d650
  • Branches default

Comments (0)

Files changed (23)

File intl/locale/src/charsetalias.properties

View file
  • Ignore whitespace
 viscii=VISCII
 koi8-r=KOI8-R
 koi8_r=KOI8-R
+cskoi8r=KOI8-R
+koi=KOI8-R
+koi8=KOI8-R
 koi8-u=KOI8-U
 tis-620=TIS-620
 t.61-8bit=T.61-8bit
 iso8859-13=ISO-8859-13
 iso8859-14=ISO-8859-14
 iso8859-15=ISO-8859-15
-# Currently .properties cannot handle : in key
-# iso_8859-1:1987=ISO-8859-1
+iso_8859-1:1987=ISO-8859-1
 iso-ir-100=ISO-8859-1
 l1=ISO-8859-1
 ibm819=ISO-8859-1
 #
 latin2=ISO-8859-2
 iso_8859-2=ISO-8859-2
-# Currently .properties cannot handle : in key
-# iso_8859-2:1987=ISO-8859-2
+iso_8859-2:1987=ISO-8859-2
 iso-ir-101=ISO-8859-2
 l2=ISO-8859-2
 csisolatin2=ISO-8859-2
 #
 latin3=ISO-8859-3
 iso_8859-3=ISO-8859-3
-# Currently .properties cannot handle : in key
-#iso_8859-3:1988=ISO-8859-3
+iso_8859-3:1988=ISO-8859-3
 iso-ir-109=ISO-8859-3
 l3=ISO-8859-3
 csisolatin3=ISO-8859-3
 #
 latin4=ISO-8859-4
 iso_8859-4=ISO-8859-4
-# Currently .properties cannot handle : in key
-#iso_8859-4:1988=ISO-8859-4
+iso_8859-4:1988=ISO-8859-4
 iso-ir-110=ISO-8859-4
 l4=ISO-8859-4
 csisolatin4=ISO-8859-4
 #
 cyrillic=ISO-8859-5
 iso_8859-5=ISO-8859-5
-# Currently .properties cannot handle : in key
-#iso_8859-5:1988=ISO-8859-5
+iso_8859-5:1988=ISO-8859-5
 iso-ir-144=ISO-8859-5
 csisolatincyrillic=ISO-8859-5
 #
 #
 arabic=ISO-8859-6
 iso_8859-6=ISO-8859-6
-# Currently .properties cannot handle : in key
-#iso_8859-6:1987=ISO-8859-6
+iso_8859-6:1987=ISO-8859-6
 iso-ir-127=ISO-8859-6
 ecma-114=ISO-8859-6
 asmo-708=ISO-8859-6
 greek8=ISO-8859-7
 sun_eu_greek=ISO-8859-7
 iso_8859-7=ISO-8859-7
-# Currently .properties cannot handle : in key
-#iso_8859-7:1987=ISO-8859-7
+iso_8859-7:1987=ISO-8859-7
 iso-ir-126=ISO-8859-7
 elot_928=ISO-8859-7
 ecma-118=ISO-8859-7
 hebrew=ISO-8859-8
 iso_8859-8=ISO-8859-8
 visual=ISO-8859-8
-# Currently .properties cannot handle : in key
-#iso_8859-8:1988=ISO-8859-8
+iso_8859-8:1988=ISO-8859-8
 iso-ir-138=ISO-8859-8
 csisolatinhebrew=ISO-8859-8
 #
 #
 csiso88598i=ISO-8859-8-I
 iso-8859-8i=ISO-8859-8-I
+logical=ISO-8859-8-I
 #
 # Aliases for ISO-8859-8-E
 #
 #
 latin5=ISO-8859-9
 iso_8859-9=ISO-8859-9
-# Currently .properties cannot handle : in key
-#iso_8859-9:1989=ISO-8859-9
+iso_8859-9:1989=ISO-8859-9
 iso-ir-148=ISO-8859-9
 l5=ISO-8859-9
 csisolatin5=ISO-8859-9
 csshiftjis=Shift_JIS
 windows-31j=Shift_JIS
 cp932=Shift_JIS
+sjis=Shift_JIS
 #
 # Aliases for EUC_JP
 #
 # Aliases for Big5
 #
 csbig5=Big5
+cn-big5=Big5
 # x-x-big5 is not really a alias for Big5, add it only for MS FrontPage
 x-x-big5=Big5
 # Sun Solaris
 #
 windows-874=windows-874
 ibm874=windows-874
+dos-874=windows-874
 #
 # Aliases for x-mac-roman
 # XXX: should make macintosh the canonical name later
 # Aliases for ISO-8859-15
 #
 iso_8859-15=ISO-8859-15
+csisolatin9=ISO-8859-15
+l9=ISO-8859-15
 #
 # Aliases for ISO-IR-111
 #

File intl/uconv/tests/unit/test_decode_8859-1.js

View file
  • Ignore whitespace
 const expectedString = " !\"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_`abcdefghijklmnopqrstuvwxyz{|}~\u00a0\u00a1\u00a2\u00a3\u00a4\u00a5\u00a6\u00a7\u00a8\u00a9\u00aa\u00ab\u00ac\u00ad\u00ae\u00af\u00b0\u00b1\u00b2\u00b3\u00b4\u00b5\u00b6\u00b7\u00b8\u00b9\u00ba\u00bb\u00bc\u00bd\u00be\u00bf\u00c0\u00c1\u00c2\u00c3\u00c4\u00c5\u00c6\u00c7\u00c8\u00c9\u00ca\u00cb\u00cc\u00cd\u00ce\u00cf\u00d0\u00d1\u00d2\u00d3\u00d4\u00d5\u00d6\u00d7\u00d8\u00d9\u00da\u00db\u00dc\u00dd\u00de\u00df\u00e0\u00e1\u00e2\u00e3\u00e4\u00e5\u00e6\u00e7\u00e8\u00e9\u00ea\u00eb\u00ec\u00ed\u00ee\u00ef\u00f0\u00f1\u00f2\u00f3\u00f4\u00f5\u00f6\u00f7\u00f8\u00f9\u00fa\u00fb\u00fc\u00fd\u00fe\u00ff";
 
 const aliases = [ "ISO-8859-1", "iso-8859-1", "latin1", "iso_8859-1",
-		  "iso8859-1", "iso-ir-100", "l1", "ibm819", "cp819",
-		  "csisolatin1", "iso88591" ];
+                  "iso8859-1", "iso-ir-100", "l1", "ibm819", "cp819",
+                  "csisolatin1", "iso88591", "iso_8859-1:1987" ];
 
 function run_test() {
   testDecodeAliases();

File intl/uconv/tests/unit/test_decode_8859-15.js

View file
  • Ignore whitespace
 const expectedString = " !\"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_`abcdefghijklmnopqrstuvwxyz{|}~\u00a0\u00a1\u00a2\u00a3\u20ac\u00a5\u0160\u00a7\u0161\u00a9\u00aa\u00ab\u00ac\u00ad\u00ae\u00af\u00b0\u00b1\u00b2\u00b3\u017d\u00b5\u00b6\u00b7\u017e\u00b9\u00ba\u00bb\u0152\u0153\u0178\u00bf\u00c0\u00c1\u00c2\u00c3\u00c4\u00c5\u00c6\u00c7\u00c8\u00c9\u00ca\u00cb\u00cc\u00cd\u00ce\u00cf\u00d0\u00d1\u00d2\u00d3\u00d4\u00d5\u00d6\u00d7\u00d8\u00d9\u00da\u00db\u00dc\u00dd\u00de\u00df\u00e0\u00e1\u00e2\u00e3\u00e4\u00e5\u00e6\u00e7\u00e8\u00e9\u00ea\u00eb\u00ec\u00ed\u00ee\u00ef\u00f0\u00f1\u00f2\u00f3\u00f4\u00f5\u00f6\u00f7\u00f8\u00f9\u00fa\u00fb\u00fc\u00fd\u00fe\u00ff";
 
 const aliases = [ "ISO-8859-15", "iso-8859-15", "iso8859-15", "iso_8859-15", 
-		  "iso885915" ];
+                  "iso885915", "csisolatin9", "l9" ];
 
 function run_test() {
   testDecodeAliases();

File intl/uconv/tests/unit/test_decode_8859-2.js

View file
  • Ignore whitespace
 const expectedString = " !\"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_`abcdefghijklmnopqrstuvwxyz{|}~\u00a0\u0104\u02d8\u0141\u00a4\u013d\u015a\u00a7\u00a8\u0160\u015e\u0164\u0179\u00ad\u017d\u017b\u00b0\u0105\u02db\u0142\u00b4\u013e\u015b\u02c7\u00b8\u0161\u015f\u0165\u017a\u02dd\u017e\u017c\u0154\u00c1\u00c2\u0102\u00c4\u0139\u0106\u00c7\u010c\u00c9\u0118\u00cb\u011a\u00cd\u00ce\u010e\u0110\u0143\u0147\u00d3\u00d4\u0150\u00d6\u00d7\u0158\u016e\u00da\u0170\u00dc\u00dd\u0162\u00df\u0155\u00e1\u00e2\u0103\u00e4\u013a\u0107\u00e7\u010d\u00e9\u0119\u00eb\u011b\u00ed\u00ee\u010f\u0111\u0144\u0148\u00f3\u00f4\u0151\u00f6\u00f7\u0159\u016f\u00fa\u0171\u00fc\u00fd\u0163\u02d9";
 
 const aliases = [ "ISO-8859-2", "iso-8859-2", "latin2", "iso_8859-2",
-		  "iso8859-2", "iso-ir-101", "l2", "csisolatin2", "iso88592" ];
+                  "iso8859-2", "iso-ir-101", "l2", "csisolatin2", "iso88592",
+                  "iso_8859-2:1987" ];
 
 function run_test() {
   testDecodeAliases();

File intl/uconv/tests/unit/test_decode_8859-3.js

View file
  • Ignore whitespace
 const expectedString = " !\"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_`abcdefghijklmnopqrstuvwxyz{|}~\u00a0\u0126\u02d8\u00a3\u00a4\u0124\u00a7\u00a8\u0130\u015e\u011e\u0134\u00ad\u017b\u00b0\u0127\u00b2\u00b3\u00b4\u00b5\u0125\u00b7\u00b8\u0131\u015f\u011f\u0135\u00bd\u017c\u00c0\u00c1\u00c2\u00c4\u010a\u0108\u00c7\u00c8\u00c9\u00ca\u00cb\u00cc\u00cd\u00ce\u00cf\u00d1\u00d2\u00d3\u00d4\u0120\u00d6\u00d7\u011c\u00d9\u00da\u00db\u00dc\u016c\u015c\u00df\u00e0\u00e1\u00e2\u00e4\u010b\u0109\u00e7\u00e8\u00e9\u00ea\u00eb\u00ec\u00ed\u00ee\u00ef\u00f1\u00f2\u00f3\u00f4\u0121\u00f6\u00f7\u011d\u00f9\u00fa\u00fb\u00fc\u016d\u015d\u02d9";
 
 const aliases = [ "ISO-8859-3", "iso-8859-3", "latin3", "iso_8859-3",
-		  "iso8859-3", "iso-ir-109", "l3", "csisolatin3", "iso88593" ];
+                  "iso8859-3", "iso-ir-109", "l3", "csisolatin3", "iso88593",
+                  "iso_8859-3:1988" ];
 
 function run_test() {
   testDecodeAliases();

File intl/uconv/tests/unit/test_decode_8859-4.js

View file
  • Ignore whitespace
 const expectedString = " !\"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_`abcdefghijklmnopqrstuvwxyz{|}~\u00a0\u0104\u0138\u0156\u00a4\u0128\u013b\u00a7\u00a8\u0160\u0112\u0122\u0166\u00ad\u017d\u00af\u00b0\u0105\u02db\u0157\u00b4\u0129\u013c\u02c7\u00b8\u0161\u0113\u0123\u0167\u014a\u017e\u014b\u0100\u00c1\u00c2\u00c3\u00c4\u00c5\u00c6\u012e\u010c\u00c9\u0118\u00cb\u0116\u00cd\u00ce\u012a\u0110\u0145\u014c\u0136\u00d4\u00d5\u00d6\u00d7\u00d8\u0172\u00da\u00db\u00dc\u0168\u016a\u00df\u0101\u00e1\u00e2\u00e3\u00e4\u00e5\u00e6\u012f\u010d\u00e9\u0119\u00eb\u0117\u00ed\u00ee\u012b\u0111\u0146\u014d\u0137\u00f4\u00f5\u00f6\u00f7\u00f8\u0173\u00fa\u00fb\u00fc\u0169\u016b\u02d9";
 
 const aliases = [ "ISO-8859-4", "iso-8859-4", "latin4", "iso_8859-4",
-		  "iso8859-4", "iso-ir-110", "l4", "csisolatin4", "iso88594" ];
+                  "iso8859-4", "iso-ir-110", "l4", "csisolatin4", "iso88594",
+                  "iso_8859-4:1988" ];
 
 function run_test() {
   testDecodeAliases();

File intl/uconv/tests/unit/test_decode_8859-5.js

View file
  • Ignore whitespace
 const expectedString = " !\"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_`abcdefghijklmnopqrstuvwxyz{|}~\u00a0\u0401\u0402\u0403\u0404\u0405\u0406\u0407\u0408\u0409\u040a\u040b\u040c\u00ad\u040e\u040f\u0410\u0411\u0412\u0413\u0414\u0415\u0416\u0417\u0418\u0419\u041a\u041b\u041c\u041d\u041e\u041f\u0420\u0421\u0422\u0423\u0424\u0425\u0426\u0427\u0428\u0429\u042a\u042b\u042c\u042d\u042e\u042f\u0430\u0431\u0432\u0433\u0434\u0435\u0436\u0437\u0438\u0439\u043a\u043b\u043c\u043d\u043e\u043f\u0440\u0441\u0442\u0443\u0444\u0445\u0446\u0447\u0448\u0449\u044a\u044b\u044c\u044d\u044e\u044f\u2116\u0451\u0452\u0453\u0454\u0455\u0456\u0457\u0458\u0459\u045a\u045b\u045c\u00a7\u045e\u045f";
 
 const aliases = [ "ISO-8859-5", "iso-8859-5", "iso_8859-5", "iso8859-5",
-		  "iso-ir-144", "csisolatincyrillic", "iso88595" ];
+                  "iso-ir-144", "csisolatincyrillic", "iso88595",
+                  "iso_8859-5:1988" ];
 
 function run_test() {
   testDecodeAliases();

File intl/uconv/tests/unit/test_decode_8859-6.js

View file
  • Ignore whitespace
 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" ];
+                  "arabic", "iso-ir-127", "ecma-114", "asmo-708",
+                  "csisolatinarabic", "iso88596", "iso_8859-6:1987" ];
 
 function run_test() {
   testDecodeAliases();

File intl/uconv/tests/unit/test_decode_8859-7.js

View file
  • Ignore whitespace
 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" ];
+                  "iso_8859-7", "iso8859-7", "iso-ir-126", "elot_928",
+                  "ecma-118", "csisolatingreek", "iso88597",
+                  "iso_8859-7:1987" ];
 
 function run_test() {
   testDecodeAliases();

File intl/uconv/tests/unit/test_decode_8859-8.js

View file
  • Ignore whitespace
 const expectedString = " !\"#$%&'()*+,-./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 aliases = [ "ISO-8859-8", "iso-8859-8", "hebrew", "visual", "iso_8859-8",
-		  "iso8859-8", "iso-ir-138", "csisolatinhebrew", "iso88598" ];
+                  "iso8859-8", "iso-ir-138", "csisolatinhebrew", "iso88598",
+                  "iso_8859-8:1988" ];
 
 function run_test() {
   testDecodeAliases();

File intl/uconv/tests/unit/test_decode_8859-9.js

View file
  • Ignore whitespace
 const expectedString = " !\"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_`abcdefghijklmnopqrstuvwxyz{|}~\u00a0\u00a1\u00a2\u00a3\u00a4\u00a5\u00a6\u00a7\u00a8\u00a9\u00aa\u00ab\u00ac\u00ad\u00ae\u00af\u00b0\u00b1\u00b2\u00b3\u00b4\u00b5\u00b6\u00b7\u00b8\u00b9\u00ba\u00bb\u00bc\u00bd\u00be\u00bf\u00c0\u00c1\u00c2\u00c3\u00c4\u00c5\u00c6\u00c7\u00c8\u00c9\u00ca\u00cb\u00cc\u00cd\u00ce\u00cf\u011e\u00d1\u00d2\u00d3\u00d4\u00d5\u00d6\u00d7\u00d8\u00d9\u00da\u00db\u00dc\u0130\u015e\u00df\u00e0\u00e1\u00e2\u00e3\u00e4\u00e5\u00e6\u00e7\u00e8\u00e9\u00ea\u00eb\u00ec\u00ed\u00ee\u00ef\u011f\u00f1\u00f2\u00f3\u00f4\u00f5\u00f6\u00f7\u00f8\u00f9\u00fa\u00fb\u00fc\u0131\u015f\u00ff";
 
 const aliases = [ "ISO-8859-9", "iso-8859-9", "latin5", "iso_8859-9",
-		  "iso8859-9", "iso-ir-148", "l5", "csisolatin5", "iso88599" ];
+                  "iso8859-9", "iso-ir-148", "l5", "csisolatin5", "iso88599",
+                  "iso_8859-9:1989" ];
 
 function run_test() {
   testDecodeAliases();

File intl/uconv/tests/unit/test_decode_CP874.js

View file
  • Ignore whitespace
     
 const expectedString = " !\"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_`abcdefghijklmnopqrstuvwxyz{|}~\u20ac\u2026\u2018\u2019\u201c\u201d\u2022\u2013\u2014\u00a0\u0e01\u0e02\u0e03\u0e04\u0e05\u0e06\u0e07\u0e08\u0e09\u0e0a\u0e0b\u0e0c\u0e0d\u0e0e\u0e0f\u0e10\u0e11\u0e12\u0e13\u0e14\u0e15\u0e16\u0e17\u0e18\u0e19\u0e1a\u0e1b\u0e1c\u0e1d\u0e1e\u0e1f\u0e20\u0e21\u0e22\u0e23\u0e24\u0e25\u0e26\u0e27\u0e28\u0e29\u0e2a\u0e2b\u0e2c\u0e2d\u0e2e\u0e2f\u0e30\u0e31\u0e32\u0e33\u0e34\u0e35\u0e36\u0e37\u0e38\u0e39\u0e3a\u0e3f\u0e40\u0e41\u0e42\u0e43\u0e44\u0e45\u0e46\u0e47\u0e48\u0e49\u0e4a\u0e4b\u0e4c\u0e4d\u0e4e\u0e4f\u0e50\u0e51\u0e52\u0e53\u0e54\u0e55\u0e56\u0e57\u0e58\u0e59\u0e5a\u0e5b";
 
-const aliases = [ "windows-874", "ibm874" ];
+const aliases = [ "windows-874", "ibm874", "dos-874" ];
 
 function run_test() {
   testDecodeAliases();

File intl/uconv/tests/unit/test_encode_8859-1.js

View file
  • Ignore whitespace
 const expectedString = " !\"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_`abcdefghijklmnopqrstuvwxyz{|}~\xa0\xa1\xa2\xa3\xa4\xa5\xa6\xa7\xa8\xa9\xaa\xab\xac\xad\xae\xaf\xb0\xb1\xb2\xb3\xb4\xb5\xb6\xb7\xb8\xb9\xba\xbb\xbc\xbd\xbe\xbf\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf\xd0\xd1\xd2\xd3\xd4\xd5\xd6\xd7\xd8\xd9\xda\xdb\xdc\xdd\xde\xdf\xe0\xe1\xe2\xe3\xe4\xe5\xe6\xe7\xe8\xe9\xea\xeb\xec\xed\xee\xef\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf7\xf8\xf9\xfa\xfb\xfc\xfd\xfe\xff";
 
 const aliases = [ "ISO-8859-1", "iso-8859-1", "latin1", "iso_8859-1",
-		  "iso8859-1", "iso-ir-100", "l1", "ibm819", "cp819",
-		  "csisolatin1", "iso88591" ];
+                  "iso8859-1", "iso-ir-100", "l1", "ibm819", "cp819",
+                  "csisolatin1", "iso88591", "iso_8859-1:1987" ];
 
 function run_test() {
   testEncodeAliases();

File intl/uconv/tests/unit/test_encode_8859-15.js

View file
  • Ignore whitespace
     
 const expectedString = " !\"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_`abcdefghijklmnopqrstuvwxyz{|}~\xa0\xa1\xa2\xa3\xa4\xa5\xa6\xa7\xa8\xa9\xaa\xab\xac\xad\xae\xaf\xb0\xb1\xb2\xb3\xb4\xb5\xb6\xb7\xb8\xb9\xba\xbb\xbc\xbd\xbe\xbf\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf\xd0\xd1\xd2\xd3\xd4\xd5\xd6\xd7\xd8\xd9\xda\xdb\xdc\xdd\xde\xdf\xe0\xe1\xe2\xe3\xe4\xe5\xe6\xe7\xe8\xe9\xea\xeb\xec\xed\xee\xef\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf7\xf8\xf9\xfa\xfb\xfc\xfd\xfe\xff";
 
-const aliases = [ "ISO-8859-15", "iso-8859-15", "iso8859-15", "iso_8859-15", 
-		  "iso885915" ];
+const aliases = [ "ISO-8859-15", "iso-8859-15", "iso8859-15", "iso_8859-15",
+                  "iso885915", "csisolatin9", "l9" ];
 
 function run_test() {
   testEncodeAliases();

File intl/uconv/tests/unit/test_encode_8859-2.js

View file
  • Ignore whitespace
 const expectedString = " !\"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_`abcdefghijklmnopqrstuvwxyz{|}~\xa0\xa1\xa2\xa3\xa4\xa5\xa6\xa7\xa8\xa9\xaa\xab\xac\xad\xae\xaf\xb0\xb1\xb2\xb3\xb4\xb5\xb6\xb7\xb8\xb9\xba\xbb\xbc\xbd\xbe\xbf\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf\xd0\xd1\xd2\xd3\xd4\xd5\xd6\xd7\xd8\xd9\xda\xdb\xdc\xdd\xde\xdf\xe0\xe1\xe2\xe3\xe4\xe5\xe6\xe7\xe8\xe9\xea\xeb\xec\xed\xee\xef\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf7\xf8\xf9\xfa\xfb\xfc\xfd\xfe\xff";
 
 const aliases = [ "ISO-8859-2", "iso-8859-2", "latin2", "iso_8859-2",
-		  "iso8859-2", "iso-ir-101", "l2", "csisolatin2", "iso88592" ];
+                  "iso8859-2", "iso-ir-101", "l2", "csisolatin2", "iso88592",
+                  "iso_8859-2:1987" ];
 
 function run_test() {
   testEncodeAliases();

File intl/uconv/tests/unit/test_encode_8859-3.js

View file
  • Ignore whitespace
 const expectedString = " !\"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_`abcdefghijklmnopqrstuvwxyz{|}~\xa0\xa1\xa2\xa3\xa4\xa6\xa7\xa8\xa9\xaa\xab\xac\xad\xaf\xb0\xb1\xb2\xb3\xb4\xb5\xb6\xb7\xb8\xb9\xba\xbb\xbc\xbd\xbf\xc0\xc1\xc2\xc4\xc5\xc6\xc7\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf\xd1\xd2\xd3\xd4\xd5\xd6\xd7\xd8\xd9\xda\xdb\xdc\xdd\xde\xdf\xe0\xe1\xe2\xe4\xe5\xe6\xe7\xe8\xe9\xea\xeb\xec\xed\xee\xef\xf1\xf2\xf3\xf4\xf5\xf6\xf7\xf8\xf9\xfa\xfb\xfc\xfd\xfe\xff";
 
 const aliases = [ "ISO-8859-3", "iso-8859-3", "latin3", "iso_8859-3",
-		  "iso8859-3", "iso-ir-109", "l3", "csisolatin3", "iso88593" ];
+                  "iso8859-3", "iso-ir-109", "l3", "csisolatin3", "iso88593",
+                  "iso_8859-3:1988" ];
 
 function run_test() {
   testEncodeAliases();

File intl/uconv/tests/unit/test_encode_8859-4.js

View file
  • Ignore whitespace
 const expectedString = " !\"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_`abcdefghijklmnopqrstuvwxyz{|}~\xa0\xa1\xa2\xa3\xa4\xa5\xa6\xa7\xa8\xa9\xaa\xab\xac\xad\xae\xaf\xb0\xb1\xb2\xb3\xb4\xb5\xb6\xb7\xb8\xb9\xba\xbb\xbc\xbd\xbe\xbf\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf\xd0\xd1\xd2\xd3\xd4\xd5\xd6\xd7\xd8\xd9\xda\xdb\xdc\xdd\xde\xdf\xe0\xe1\xe2\xe3\xe4\xe5\xe6\xe7\xe8\xe9\xea\xeb\xec\xed\xee\xef\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf7\xf8\xf9\xfa\xfb\xfc\xfd\xfe\xff";
 
 const aliases = [ "ISO-8859-4", "iso-8859-4", "latin4", "iso_8859-4",
-		  "iso8859-4", "iso-ir-110", "l4", "csisolatin4", "iso88594" ];
+                  "iso8859-4", "iso-ir-110", "l4", "csisolatin4", "iso88594",
+                  "iso_8859-4:1988" ];
 
 function run_test() {
   testEncodeAliases();

File intl/uconv/tests/unit/test_encode_8859-5.js

View file
  • Ignore whitespace
 const expectedString = " !\"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_`abcdefghijklmnopqrstuvwxyz{|}~\xa0\xa1\xa2\xa3\xa4\xa5\xa6\xa7\xa8\xa9\xaa\xab\xac\xad\xae\xaf\xb0\xb1\xb2\xb3\xb4\xb5\xb6\xb7\xb8\xb9\xba\xbb\xbc\xbd\xbe\xbf\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf\xd0\xd1\xd2\xd3\xd4\xd5\xd6\xd7\xd8\xd9\xda\xdb\xdc\xdd\xde\xdf\xe0\xe1\xe2\xe3\xe4\xe5\xe6\xe7\xe8\xe9\xea\xeb\xec\xed\xee\xef\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf7\xf8\xf9\xfa\xfb\xfc\xfd\xfe\xff";
 
 const aliases = [ "ISO-8859-5", "iso-8859-5", "iso_8859-5", "iso8859-5",
-		  "iso-ir-144", "csisolatincyrillic", "iso88595" ];
+                  "iso-ir-144", "csisolatincyrillic", "iso88595",
+                  "iso_8859-5:1988" ];
 
 function run_test() {
   testEncodeAliases();

File intl/uconv/tests/unit/test_encode_8859-6.js

View file
  • Ignore whitespace
 const expectedString = " !\"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_`abcdefghijklmnopqrstuvwxyz{|}~\xa0\xa4\xac\xad\xbb\xbf\xc1\xc2\xc3\xc4\xc5\xc6\xc7\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf\xd0\xd1\xd2\xd3\xd4\xd5\xd6\xd7\xd8\xd9\xda\xe0\xe1\xe2\xe3\xe4\xe5\xe6\xe7\xe8\xe9\xea\xeb\xec\xed\xee\xef\xf0\xf1\xf2";
 
 const aliases = [ "ISO-8859-6", "iso-8859-6", "iso_8859-6", "iso8859-6",
-		  "arabic", "iso-ir-127", "ecma-114", "asmo-708",
-		  "csisolatinarabic", "iso88596" ];
+                  "arabic", "iso-ir-127", "ecma-114", "asmo-708",
+                  "csisolatinarabic", "iso88596", "iso_8859-6:1987" ];
 
 function run_test() {
   testEncodeAliases();

File intl/uconv/tests/unit/test_encode_8859-7.js

View file
  • Ignore whitespace
 const expectedString = " !\"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_`abcdefghijklmnopqrstuvwxyz{|}~\xa0\xa1\xa2\xa3\xa4\xa5\xa6\xa7\xa8\xa9\xaa\xab\xac\xad\xaf\xb0\xb1\xb2\xb3\xb4\xb5\xb6\xb7\xb8\xb9\xba\xbb\xbc\xbd\xbe\xbf\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf\xd0\xd1\xd3\xd4\xd5\xd6\xd7\xd8\xd9\xda\xdb\xdc\xdd\xde\xdf\xe0\xe1\xe2\xe3\xe4\xe5\xe6\xe7\xe8\xe9\xea\xeb\xec\xed\xee\xef\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf7\xf8\xf9\xfa\xfb\xfc\xfd\xfe";
 
 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" ];
+                  "iso_8859-7", "iso8859-7", "iso-ir-126", "elot_928",
+                  "ecma-118", "csisolatingreek", "iso88597",
+                  "iso_8859-7:1987" ];
 
 function run_test() {
   testEncodeAliases();

File intl/uconv/tests/unit/test_encode_8859-8.js

View file
  • Ignore whitespace
 const expectedString = " !\"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_`abcdefghijklmnopqrstuvwxyz{|}~\xa0\xa2\xa3\xa4\xa5\xa6\xa7\xa8\xa9\xaa\xab\xac\xad\xae\xaf\xb0\xb1\xb2\xb3\xb4\xb5\xb6\xb7\xb8\xb9\xba\xbb\xbc\xbd\xbe\xdf\xe0\xe1\xe2\xe3\xe4\xe5\xe6\xe7\xe8\xe9\xea\xeb\xec\xed\xee\xef\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf7\xf8\xf9\xfa\xfd\xfe";
 
 const aliases = [ "ISO-8859-8", "iso-8859-8", "hebrew", "visual", "iso_8859-8",
-		  "iso8859-8", "iso-ir-138", "csisolatinhebrew", "iso88598" ];
+                  "iso8859-8", "iso-ir-138", "csisolatinhebrew", "iso88598",
+                  "iso_8859-8:1988" ];
 
 function run_test() {
   testEncodeAliases();

File intl/uconv/tests/unit/test_encode_8859-9.js

View file
  • Ignore whitespace
 const expectedString = " !\"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_`abcdefghijklmnopqrstuvwxyz{|}~\xa0\xa1\xa2\xa3\xa4\xa5\xa6\xa7\xa8\xa9\xaa\xab\xac\xad\xae\xaf\xb0\xb1\xb2\xb3\xb4\xb5\xb6\xb7\xb8\xb9\xba\xbb\xbc\xbd\xbe\xbf\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf\xd0\xd1\xd2\xd3\xd4\xd5\xd6\xd7\xd8\xd9\xda\xdb\xdc\xdd\xde\xdf\xe0\xe1\xe2\xe3\xe4\xe5\xe6\xe7\xe8\xe9\xea\xeb\xec\xed\xee\xef\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf7\xf8\xf9\xfa\xfb\xfc\xfd\xfe\xff";
 
 const aliases = [ "ISO-8859-9", "iso-8859-9", "latin5", "iso_8859-9",
-		  "iso8859-9", "iso-ir-148", "l5", "csisolatin5", "iso88599" ];
+                  "iso8859-9", "iso-ir-148", "l5", "csisolatin5", "iso88599",
+                  "iso_8859-9:1989" ];
 
 function run_test() {
   testEncodeAliases();

File intl/uconv/tests/unit/test_encode_CP874.js

View file
  • Ignore whitespace
     
 const expectedString = " !\"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_`abcdefghijklmnopqrstuvwxyz{|}~\x80\x85\x91\x92\x93\x94\x95\x96\x97\xa0\xa1\xa2\xa3\xa4\xa5\xa6\xa7\xa8\xa9\xaa\xab\xac\xad\xae\xaf\xb0\xb1\xb2\xb3\xb4\xb5\xb6\xb7\xb8\xb9\xba\xbb\xbc\xbd\xbe\xbf\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf\xd0\xd1\xd2\xd3\xd4\xd5\xd6\xd7\xd8\xd9\xda\xdf\xe0\xe1\xe2\xe3\xe4\xe5\xe6\xe7\xe8\xe9\xea\xeb\xec\xed\xee\xef\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf7\xf8\xf9\xfa\xfb";
 
-const aliases = [ "windows-874", "ibm874" ];
+const aliases = [ "windows-874", "ibm874", "dos-874" ];
 
 function run_test() {
   testEncodeAliases();