forked from iina/iina
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCharEncoding.swift
More file actions
59 lines (56 loc) · 2.16 KB
/
CharEncoding.swift
File metadata and controls
59 lines (56 loc) · 2.16 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
//
// CharEncoding.swift
// iina
//
// Created by lhc on 25/10/2016.
// Copyright © 2016 lhc. All rights reserved.
//
import Foundation
class CharEncoding {
static let list: [(title: String, code: String)] = [
(NSLocalizedString("subencoding.auto", comment: "Auto detect"), "auto"),
("Universal (UTF-8)", "UTF-8"),
("Universal (UTF-16)", "UTF-16"),
("Universal (UTF-16BE)", "UTF-16BE"),
("Universal (UTF-16LE)", "UTF-16LE"),
("Arabic (ISO-8859-6)", "ISO-8859-6"),
("Arabic (WINDOWS-1256)", "WINDOWS-1256"),
("Baltic (LATIN7)", "LATIN7"),
("Baltic (WINDOWS-1257)", "WINDOWS-1257"),
("Celtic (LATIN8)", "LATIN8"),
("Central European (WINDOWS-1250)", "WINDOWS-1250"),
("Cyrillic (ISO-8859-5)", "ISO-8859-5"),
("Cyrillic (WINDOWS-1251)", "WINDOWS-1251"),
("Eastern European (ISO-8859-2)", "ISO-8859-2"),
("Western Languages (WINDOWS-1252)", "WINDOWS-1252"),
("Greek (ISO-8859-7)", "ISO-8859-7"),
("Greek (WINDOWS-1253)", "WINDOWS-1253"),
("Hebrew (ISO-8859-8)", "ISO-8859-8"),
("Hebrew (WINDOWS-1255)", "WINDOWS-1255"),
("Japanese (SHIFT-JIS)", "SHIFT-JIS"),
("Japanese (ISO-2022-JP-2)", "ISO-2022-JP-2"),
("Korean (EUC-KR)", "EUC-KR"),
("Korean (CP949)", "CP949"),
("Korean (ISO-2022-KR)", "ISO-2022-KR"),
("Nordic (LATIN6)", "LATIN6"),
("North European (LATIN4)", "LATIN4"),
("Russian (KOI8-R)", "KOI8-R"),
("Simplified Chinese (GBK)", "GBK"),
("Simplified Chinese (GB18030)", "GB18030"),
("Simplified Chinese (ISO-2022-CN-EXT)", "ISO-2022-CN-EXT"),
("South European (LATIN3)", "LATIN3"),
("South-Eastern European (LATIN10)", "LATIN10"),
("Thai (TIS-620)", "TIS-620"),
("Thai (WINDOWS-874)", "WINDOWS-874"),
("Traditional Chinese (EUC-TW)", "EUC-TW"),
("Traditional Chinese (BIG5)", "BIG5"),
("Traditional Chinese (BIG5-HKSCS)", "BIG5-HKSCS"),
("Turkish (LATIN5)", "LATIN5"),
("Turkish (WINDOWS-1254)", "WINDOWS-1254"),
("Ukrainian (KOI8-U)", "KOI8-U"),
("Vietnamese (WINDOWS-1258)", "WINDOWS-1258"),
("Vietnamese (VISCII)", "VISCII"),
("Western European (LATIN1)", "LATIN1"),
("Western European (LATIN-9)", "LATIN-9")
]
}