1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/dom/encoding/localesfallbacks.properties Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,72 @@ 1.4 +# This Source Code Form is subject to the terms of the Mozilla Public 1.5 +# License, v. 2.0. If a copy of the MPL was not distributed with this 1.6 +# file, You can obtain one at http://mozilla.org/MPL/2.0/. 1.7 + 1.8 +# This file contains mappings from languages to legacy encodings for languages 1.9 +# that are associated with legacy encoding other than windows-1252 (except 1.10 +# Traditional Chinese, which is handled as a special case elsewhere). 1.11 +# 1.12 +# The keys are language codes without regions. The values are Gecko-canonical 1.13 +# encoding labels (not necessarily lower case!). 1.14 +# 1.15 +# Rules: 1.16 +# 1.17 +# * Avoid editing this file! 1.18 +# 1.19 +# * If you do edit this file, be sure to file a spec bug against WHATWG HTML 1.20 +# to keep this file in sync with 1.21 +# http://www.whatwg.org/specs/web-apps/current-work/multipage/parsing.html#determining-the-character-encoding 1.22 +# 1.23 +# * As an exception to the previous rule, gbk is used instead of GB18030 1.24 +# until/unless work on http://encoding.spec.whatwg.org/ shows that the former 1.25 +# can be treated as an alias of the latter and our decoder implementation 1.26 +# has been audited to match the spec. 1.27 +# 1.28 +# * Use only the language code without a hyphen or anything that would come 1.29 +# after the hyphen. 1.30 +# 1.31 +# * Don't put windows-1252-affiliated languages here. 1.32 +# 1.33 +# * Don't put Traditional Chinese here. 1.34 + 1.35 +ar=windows-1256 1.36 +# https://www.w3.org/Bugs/Public/show_bug.cgi?id=23089 1.37 +ba=windows-1251 1.38 +# https://www.w3.org/Bugs/Public/show_bug.cgi?id=23089 1.39 +be=windows-1251 1.40 +bg=windows-1251 1.41 +cs=windows-1250 1.42 +# https://www.w3.org/Bugs/Public/show_bug.cgi?id=23090 1.43 +el=ISO-8859-7 1.44 +et=windows-1257 1.45 +fa=windows-1256 1.46 +he=windows-1255 1.47 +hr=windows-1250 1.48 +hu=ISO-8859-2 1.49 +ja=Shift_JIS 1.50 +# https://www.w3.org/Bugs/Public/show_bug.cgi?id=23089 1.51 +kk=windows-1251 1.52 +ko=EUC-KR 1.53 +ku=windows-1254 1.54 +# https://www.w3.org/Bugs/Public/show_bug.cgi?id=23089 1.55 +ky=windows-1251 1.56 +lt=windows-1257 1.57 +lv=windows-1257 1.58 +# https://www.w3.org/Bugs/Public/show_bug.cgi?id=23089 1.59 +mk=windows-1251 1.60 +pl=ISO-8859-2 1.61 +ru=windows-1251 1.62 +# https://www.w3.org/Bugs/Public/show_bug.cgi?id=23089 1.63 +sah=windows-1251 1.64 +sk=windows-1250 1.65 +sl=ISO-8859-2 1.66 +sr=windows-1251 1.67 +# https://www.w3.org/Bugs/Public/show_bug.cgi?id=23089 1.68 +tg=windows-1251 1.69 +th=windows-874 1.70 +tr=windows-1254 1.71 +# https://www.w3.org/Bugs/Public/show_bug.cgi?id=23089 1.72 +tt=windows-1251 1.73 +uk=windows-1251 1.74 +vi=windows-1258 1.75 +zh=gbk