0031878: DXF import - support Windows and ISO 8859 code pages in DXF import
[occt.git] / src / Resource / Resource_FormatType.hxx
CommitLineData
42cf5bc1 1// Created on: 1995-04-20
2// Created by: Tony GEORGIADES
3// Copyright (c) 1995-1999 Matra Datavision
4// Copyright (c) 1999-2014 OPEN CASCADE SAS
5//
6// This file is part of Open CASCADE Technology software library.
7//
8// This library is free software; you can redistribute it and/or modify it under
9// the terms of the GNU Lesser General Public License version 2.1 as published
10// by the Free Software Foundation, with special exception defined in the file
11// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
12// distribution for complete text of the license and disclaimer of any warranty.
13//
14// Alternatively, this file may be used under the terms of Open CASCADE
15// commercial license or contractual agreement.
16
17#ifndef _Resource_FormatType_HeaderFile
18#define _Resource_FormatType_HeaderFile
19
e3249d8e 20//! List of non ASCII format types which may be converted into the Unicode 16 bits format type.
21//! Use the functions provided by the Resource_Unicode class to convert a string
42cf5bc1 22//! from one of these non ASCII format to Unicode, and vice versa.
23enum Resource_FormatType
24{
e3249d8e 25 Resource_FormatType_SJIS, //!< SJIS (Shift Japanese Industrial Standards) encoding
26 Resource_FormatType_EUC, //!< EUC (Extended Unix Code) multi-byte encoding primarily for Japanese, Korean, and simplified Chinese
1b9cb073 27 Resource_FormatType_NoConversion, //!< format type indicating non-conversion behavior
e3249d8e 28 Resource_FormatType_GB, //!< GB (Guobiao) encoding for Simplified Chinese
29 Resource_FormatType_UTF8, //!< multi-byte UTF-8 encoding
30 Resource_FormatType_SystemLocale, //!< active system-defined locale; this value is strongly NOT recommended to use
31
1b9cb073 32 // Windows-native ("ANSI") 8-bit code pages
baf60a87 33 Resource_FormatType_CP1250, //!< cp1250 (Central European) encoding
34 Resource_FormatType_CP1251, //!< cp1251 (Cyrillic) encoding
35 Resource_FormatType_CP1252, //!< cp1252 (Western European) encoding
36 Resource_FormatType_CP1253, //!< cp1253 (Greek) encoding
37 Resource_FormatType_CP1254, //!< cp1254 (Turkish) encoding
38 Resource_FormatType_CP1255, //!< cp1255 (Hebrew) encoding
39 Resource_FormatType_CP1256, //!< cp1256 (Arabic) encoding
40 Resource_FormatType_CP1257, //!< cp1257 (Baltic) encoding
41 Resource_FormatType_CP1258, //!< cp1258 (Vietnamese) encoding
42
1b9cb073 43 // ISO8859 8-bit code pages
44 Resource_FormatType_iso8859_1, //!< ISO 8859-1 (Western European) encoding
45 Resource_FormatType_iso8859_2, //!< ISO 8859-2 (Central European) encoding
46 Resource_FormatType_iso8859_3, //!< ISO 8859-3 (Turkish) encoding
47 Resource_FormatType_iso8859_4, //!< ISO 8859-4 (Northern European) encoding
48 Resource_FormatType_iso8859_5, //!< ISO 8859-5 (Cyrillic) encoding
49 Resource_FormatType_iso8859_6, //!< ISO 8859-6 (Arabic) encoding
50 Resource_FormatType_iso8859_7, //!< ISO 8859-7 (Greek) encoding
51 Resource_FormatType_iso8859_8, //!< ISO 8859-8 (Hebrew) encoding
52 Resource_FormatType_iso8859_9, //!< ISO 8859-9 (Turkish) encoding
53
71af3370 54 // Addition code pages
55 Resource_FormatType_GBK, //!< GBK (UnifiedChinese) encoding
56 Resource_FormatType_Big5, //!< Big5 (TradChinese) encoding
57
e3249d8e 58 // old aliases
1b9cb073 59 Resource_FormatType_ANSI = Resource_FormatType_NoConversion,
e3249d8e 60 Resource_SJIS = Resource_FormatType_SJIS,
61 Resource_EUC = Resource_FormatType_EUC,
62 Resource_ANSI = Resource_FormatType_ANSI,
63 Resource_GB = Resource_FormatType_GB,
42cf5bc1 64};
65
66#endif // _Resource_FormatType_HeaderFile