| OLD | NEW |
| 1 // Only these encodings are supported for encoding (vs. decoding) | 1 // Only these encodings are supported for encoding (vs. decoding) |
| 2 utf_encodings = ["utf-8", "utf-16le", "utf-16be"]; | 2 utf_encodings = ["utf-8", "utf-16le", "utf-16be"]; |
| 3 | 3 |
| 4 // From non-normative encodings.json resource referenced by http://encoding.spec
.whatwg.org/ | 4 // From non-normative encodings.json resource referenced by http://encoding.spec
.whatwg.org/ |
| 5 encodings_table = [ | 5 encodings_table = [ |
| 6 { | 6 { |
| 7 "encodings": [ | 7 "encodings": [ |
| 8 { | 8 { |
| 9 "labels": [ | 9 "labels": [ |
| 10 "unicode-1-1-utf-8", | 10 "unicode-1-1-utf-8", |
| (...skipping 404 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 415 "euc-kr", | 415 "euc-kr", |
| 416 "iso-ir-149", | 416 "iso-ir-149", |
| 417 "korean", | 417 "korean", |
| 418 "ks_c_5601-1987", | 418 "ks_c_5601-1987", |
| 419 "ks_c_5601-1989", | 419 "ks_c_5601-1989", |
| 420 "ksc5601", | 420 "ksc5601", |
| 421 "ksc_5601", | 421 "ksc_5601", |
| 422 "windows-949" | 422 "windows-949" |
| 423 ], | 423 ], |
| 424 "name": "euc-kr" | 424 "name": "euc-kr" |
| 425 }, | |
| 426 { | |
| 427 "labels": [ | |
| 428 "csiso2022kr", | |
| 429 "iso-2022-kr" | |
| 430 ], | |
| 431 "name": "iso-2022-kr" | |
| 432 } | 425 } |
| 433 ], | 426 ], |
| 434 "heading": "Legacy multi-byte Korean encodings" | 427 "heading": "Legacy multi-byte Korean encodings" |
| 435 }, | 428 }, |
| 436 { | 429 { |
| 437 "encodings": [ | 430 "encodings": [ |
| 438 { | 431 { |
| 439 "labels": [ | 432 "labels": [ |
| 433 "csiso2022kr", |
| 440 "iso-2022-cn", | 434 "iso-2022-cn", |
| 441 "iso-2022-cn-ext" | 435 "iso-2022-cn-ext", |
| 436 "iso-2022-kr" |
| 442 ], | 437 ], |
| 443 "name": "replacement" | 438 "name": "replacement" |
| 444 }, | 439 }, |
| 445 { | 440 { |
| 446 "labels": [ | 441 "labels": [ |
| 447 "utf-16be" | 442 "utf-16be" |
| 448 ], | 443 ], |
| 449 "name": "utf-16be" | 444 "name": "utf-16be" |
| 450 }, | 445 }, |
| 451 { | 446 { |
| 452 "labels": [ | 447 "labels": [ |
| 453 "utf-16", | 448 "utf-16", |
| 454 "utf-16le" | 449 "utf-16le" |
| 455 ], | 450 ], |
| 456 "name": "utf-16le" | 451 "name": "utf-16le" |
| 457 }, | 452 }, |
| 458 { | 453 { |
| 459 "labels": [ | 454 "labels": [ |
| 460 "x-user-defined" | 455 "x-user-defined" |
| 461 ], | 456 ], |
| 462 "name": "x-user-defined" | 457 "name": "x-user-defined" |
| 463 } | 458 } |
| 464 ], | 459 ], |
| 465 "heading": "Legacy miscellaneous encodings" | 460 "heading": "Legacy miscellaneous encodings" |
| 466 } | 461 } |
| 467 ]; | 462 ]; |
| OLD | NEW |