|
1 # This Source Code Form is subject to the terms of the Mozilla Public |
|
2 # License, v. 2.0. If a copy of the MPL was not distributed with this |
|
3 # file, You can obtain one at http://mozilla.org/MPL/2.0/. |
|
4 |
|
5 # This file contains mappings from languages to legacy encodings for languages |
|
6 # that are associated with legacy encoding other than windows-1252 (except |
|
7 # Traditional Chinese, which is handled as a special case elsewhere). |
|
8 # |
|
9 # The keys are language codes without regions. The values are Gecko-canonical |
|
10 # encoding labels (not necessarily lower case!). |
|
11 # |
|
12 # Rules: |
|
13 # |
|
14 # * Avoid editing this file! |
|
15 # |
|
16 # * If you do edit this file, be sure to file a spec bug against WHATWG HTML |
|
17 # to keep this file in sync with |
|
18 # http://www.whatwg.org/specs/web-apps/current-work/multipage/parsing.html#determining-the-character-encoding |
|
19 # |
|
20 # * As an exception to the previous rule, gbk is used instead of GB18030 |
|
21 # until/unless work on http://encoding.spec.whatwg.org/ shows that the former |
|
22 # can be treated as an alias of the latter and our decoder implementation |
|
23 # has been audited to match the spec. |
|
24 # |
|
25 # * Use only the language code without a hyphen or anything that would come |
|
26 # after the hyphen. |
|
27 # |
|
28 # * Don't put windows-1252-affiliated languages here. |
|
29 # |
|
30 # * Don't put Traditional Chinese here. |
|
31 |
|
32 ar=windows-1256 |
|
33 # https://www.w3.org/Bugs/Public/show_bug.cgi?id=23089 |
|
34 ba=windows-1251 |
|
35 # https://www.w3.org/Bugs/Public/show_bug.cgi?id=23089 |
|
36 be=windows-1251 |
|
37 bg=windows-1251 |
|
38 cs=windows-1250 |
|
39 # https://www.w3.org/Bugs/Public/show_bug.cgi?id=23090 |
|
40 el=ISO-8859-7 |
|
41 et=windows-1257 |
|
42 fa=windows-1256 |
|
43 he=windows-1255 |
|
44 hr=windows-1250 |
|
45 hu=ISO-8859-2 |
|
46 ja=Shift_JIS |
|
47 # https://www.w3.org/Bugs/Public/show_bug.cgi?id=23089 |
|
48 kk=windows-1251 |
|
49 ko=EUC-KR |
|
50 ku=windows-1254 |
|
51 # https://www.w3.org/Bugs/Public/show_bug.cgi?id=23089 |
|
52 ky=windows-1251 |
|
53 lt=windows-1257 |
|
54 lv=windows-1257 |
|
55 # https://www.w3.org/Bugs/Public/show_bug.cgi?id=23089 |
|
56 mk=windows-1251 |
|
57 pl=ISO-8859-2 |
|
58 ru=windows-1251 |
|
59 # https://www.w3.org/Bugs/Public/show_bug.cgi?id=23089 |
|
60 sah=windows-1251 |
|
61 sk=windows-1250 |
|
62 sl=ISO-8859-2 |
|
63 sr=windows-1251 |
|
64 # https://www.w3.org/Bugs/Public/show_bug.cgi?id=23089 |
|
65 tg=windows-1251 |
|
66 th=windows-874 |
|
67 tr=windows-1254 |
|
68 # https://www.w3.org/Bugs/Public/show_bug.cgi?id=23089 |
|
69 tt=windows-1251 |
|
70 uk=windows-1251 |
|
71 vi=windows-1258 |
|
72 zh=gbk |