Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2026-07-01 08:33:36

0001 // Created on: 1995-04-20
0002 // Created by: Tony GEORGIADES
0003 // Copyright (c) 1995-1999 Matra Datavision
0004 // Copyright (c) 1999-2014 OPEN CASCADE SAS
0005 //
0006 // This file is part of Open CASCADE Technology software library.
0007 //
0008 // This library is free software; you can redistribute it and/or modify it under
0009 // the terms of the GNU Lesser General Public License version 2.1 as published
0010 // by the Free Software Foundation, with special exception defined in the file
0011 // OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
0012 // distribution for complete text of the license and disclaimer of any warranty.
0013 //
0014 // Alternatively, this file may be used under the terms of Open CASCADE
0015 // commercial license or contractual agreement.
0016 
0017 #ifndef _Resource_FormatType_HeaderFile
0018 #define _Resource_FormatType_HeaderFile
0019 
0020 //! List of non ASCII format types which may be converted into the Unicode 16 bits format type.
0021 //! Use the functions provided by the Resource_Unicode class to convert a string
0022 //! from one of these non ASCII format to Unicode, and vice versa.
0023 enum Resource_FormatType
0024 {
0025   Resource_FormatType_SJIS, //!< SJIS (Shift Japanese Industrial Standards) encoding
0026   Resource_FormatType_EUC, //!< EUC (Extended Unix Code) multi-byte encoding primarily for Japanese,
0027                            //!< Korean, and simplified Chinese
0028   Resource_FormatType_NoConversion, //!< format type indicating non-conversion behavior
0029   Resource_FormatType_GB,           //!< GB (Guobiao) encoding for Simplified Chinese
0030   Resource_FormatType_UTF8,         //!< multi-byte UTF-8 encoding
0031   Resource_FormatType_SystemLocale, //!< active system-defined locale; this value is strongly NOT
0032                                     //!< recommended to use
0033 
0034   // Windows-native ("ANSI") 8-bit code pages
0035   Resource_FormatType_CP1250, //!< cp1250 (Central European) encoding
0036   Resource_FormatType_CP1251, //!< cp1251 (Cyrillic) encoding
0037   Resource_FormatType_CP1252, //!< cp1252 (Western European) encoding
0038   Resource_FormatType_CP1253, //!< cp1253 (Greek) encoding
0039   Resource_FormatType_CP1254, //!< cp1254 (Turkish) encoding
0040   Resource_FormatType_CP1255, //!< cp1255 (Hebrew) encoding
0041   Resource_FormatType_CP1256, //!< cp1256 (Arabic) encoding
0042   Resource_FormatType_CP1257, //!< cp1257 (Baltic) encoding
0043   Resource_FormatType_CP1258, //!< cp1258 (Vietnamese) encoding
0044 
0045   // ISO8859 8-bit code pages
0046   Resource_FormatType_iso8859_1, //!< ISO 8859-1 (Western European) encoding
0047   Resource_FormatType_iso8859_2, //!< ISO 8859-2 (Central European) encoding
0048   Resource_FormatType_iso8859_3, //!< ISO 8859-3 (Turkish) encoding
0049   Resource_FormatType_iso8859_4, //!< ISO 8859-4 (Northern European) encoding
0050   Resource_FormatType_iso8859_5, //!< ISO 8859-5 (Cyrillic) encoding
0051   Resource_FormatType_iso8859_6, //!< ISO 8859-6 (Arabic) encoding
0052   Resource_FormatType_iso8859_7, //!< ISO 8859-7 (Greek) encoding
0053   Resource_FormatType_iso8859_8, //!< ISO 8859-8 (Hebrew) encoding
0054   Resource_FormatType_iso8859_9, //!< ISO 8859-9 (Turkish) encoding
0055 
0056   // Addition code pages
0057   Resource_FormatType_CP850, //!< ISO 850 (Western European) encoding
0058   Resource_FormatType_GBK,   //!< GBK  (UnifiedChinese) encoding
0059   Resource_FormatType_Big5,  //!< Big5 (TradChinese) encoding
0060 
0061   // old aliases
0062   Resource_FormatType_ANSI = Resource_FormatType_NoConversion,
0063   Resource_SJIS            = Resource_FormatType_SJIS,
0064   Resource_EUC             = Resource_FormatType_EUC,
0065   Resource_ANSI            = Resource_FormatType_ANSI,
0066   Resource_GB              = Resource_FormatType_GB,
0067 };
0068 
0069 #endif // _Resource_FormatType_HeaderFile