comparison mupdf-source/thirdparty/zxing-cpp/core/src/CharacterSet.h @ 2:b50eed0cc0ef upstream

ADD: MuPDF v1.26.7: the MuPDF source as downloaded by a default build of PyMuPDF 1.26.4. The directory name has changed: no version number in the expanded directory now.
author Franz Glasner <fzglas.hg@dom66.de>
date Mon, 15 Sep 2025 11:43:07 +0200
parents
children
comparison
equal deleted inserted replaced
1:1d09e1dec1d9 2:b50eed0cc0ef
1 /*
2 * Copyright 2016 Nu-book Inc.
3 */
4 // SPDX-License-Identifier: Apache-2.0
5
6 #pragma once
7
8 #include <string>
9 #include <string_view>
10
11 namespace ZXing {
12
13 enum class CharacterSet : unsigned char
14 {
15 Unknown,
16 ASCII,
17 ISO8859_1,
18 ISO8859_2,
19 ISO8859_3,
20 ISO8859_4,
21 ISO8859_5,
22 ISO8859_6,
23 ISO8859_7,
24 ISO8859_8,
25 ISO8859_9,
26 ISO8859_10,
27 ISO8859_11,
28 ISO8859_13,
29 ISO8859_14,
30 ISO8859_15,
31 ISO8859_16,
32 Cp437,
33 Cp1250,
34 Cp1251,
35 Cp1252,
36 Cp1256,
37
38 Shift_JIS,
39 Big5,
40 GB2312,
41 GB18030,
42 EUC_JP,
43 EUC_KR,
44 UTF16BE,
45 UnicodeBig [[deprecated]] = UTF16BE,
46 UTF8,
47 UTF16LE,
48 UTF32BE,
49 UTF32LE,
50
51 BINARY,
52
53 CharsetCount
54 };
55
56 CharacterSet CharacterSetFromString(std::string_view name);
57 std::string ToString(CharacterSet cs);
58
59 } // ZXing