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
6 // This file is part of Open CASCADE Technology software library.
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.
14 // Alternatively, this file may be used under the terms of Open CASCADE
15 // commercial license or contractual agreement.
17 #ifndef _Resource_FormatType_HeaderFile
18 #define _Resource_FormatType_HeaderFile
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
22 //! from one of these non ASCII format to Unicode, and vice versa.
23 enum Resource_FormatType
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
27 Resource_FormatType_ANSI, //!< ANSI encoding (pass through without conversion)
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
33 Resource_SJIS = Resource_FormatType_SJIS,
34 Resource_EUC = Resource_FormatType_EUC,
35 Resource_ANSI = Resource_FormatType_ANSI,
36 Resource_GB = Resource_FormatType_GB,
39 #endif // _Resource_FormatType_HeaderFile