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