michael@0: # This Source Code Form is subject to the terms of the Mozilla Public michael@0: # License, v. 2.0. If a copy of the MPL was not distributed with this michael@0: # file, You can obtain one at http://mozilla.org/MPL/2.0/. michael@0: michael@0: # This file contains mappings from languages to legacy encodings for languages michael@0: # that are associated with legacy encoding other than windows-1252 (except michael@0: # Traditional Chinese, which is handled as a special case elsewhere). michael@0: # michael@0: # The keys are language codes without regions. The values are Gecko-canonical michael@0: # encoding labels (not necessarily lower case!). michael@0: # michael@0: # Rules: michael@0: # michael@0: # * Avoid editing this file! michael@0: # michael@0: # * If you do edit this file, be sure to file a spec bug against WHATWG HTML michael@0: # to keep this file in sync with michael@0: # http://www.whatwg.org/specs/web-apps/current-work/multipage/parsing.html#determining-the-character-encoding michael@0: # michael@0: # * As an exception to the previous rule, gbk is used instead of GB18030 michael@0: # until/unless work on http://encoding.spec.whatwg.org/ shows that the former michael@0: # can be treated as an alias of the latter and our decoder implementation michael@0: # has been audited to match the spec. michael@0: # michael@0: # * Use only the language code without a hyphen or anything that would come michael@0: # after the hyphen. michael@0: # michael@0: # * Don't put windows-1252-affiliated languages here. michael@0: # michael@0: # * Don't put Traditional Chinese here. michael@0: michael@0: ar=windows-1256 michael@0: # https://www.w3.org/Bugs/Public/show_bug.cgi?id=23089 michael@0: ba=windows-1251 michael@0: # https://www.w3.org/Bugs/Public/show_bug.cgi?id=23089 michael@0: be=windows-1251 michael@0: bg=windows-1251 michael@0: cs=windows-1250 michael@0: # https://www.w3.org/Bugs/Public/show_bug.cgi?id=23090 michael@0: el=ISO-8859-7 michael@0: et=windows-1257 michael@0: fa=windows-1256 michael@0: he=windows-1255 michael@0: hr=windows-1250 michael@0: hu=ISO-8859-2 michael@0: ja=Shift_JIS michael@0: # https://www.w3.org/Bugs/Public/show_bug.cgi?id=23089 michael@0: kk=windows-1251 michael@0: ko=EUC-KR michael@0: ku=windows-1254 michael@0: # https://www.w3.org/Bugs/Public/show_bug.cgi?id=23089 michael@0: ky=windows-1251 michael@0: lt=windows-1257 michael@0: lv=windows-1257 michael@0: # https://www.w3.org/Bugs/Public/show_bug.cgi?id=23089 michael@0: mk=windows-1251 michael@0: pl=ISO-8859-2 michael@0: ru=windows-1251 michael@0: # https://www.w3.org/Bugs/Public/show_bug.cgi?id=23089 michael@0: sah=windows-1251 michael@0: sk=windows-1250 michael@0: sl=ISO-8859-2 michael@0: sr=windows-1251 michael@0: # https://www.w3.org/Bugs/Public/show_bug.cgi?id=23089 michael@0: tg=windows-1251 michael@0: th=windows-874 michael@0: tr=windows-1254 michael@0: # https://www.w3.org/Bugs/Public/show_bug.cgi?id=23089 michael@0: tt=windows-1251 michael@0: uk=windows-1251 michael@0: vi=windows-1258 michael@0: zh=gbk