mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-08-04 13:13:25 +03:00
0029352: Adding support of GBK and Big5 code pages
Added methods to convert GBK and Big5 encodings to Unicode
This commit is contained in:
@@ -51,6 +51,14 @@ public:
|
||||
//! to Unicode ExtendedString <tostr>.
|
||||
Standard_EXPORT static void ConvertGBToUnicode (const Standard_CString fromstr, TCollection_ExtendedString& tostr);
|
||||
|
||||
//! Converts non-ASCII CString <fromstr> in GBK format
|
||||
//! to Unicode ExtendedString <tostr>.
|
||||
Standard_EXPORT static Standard_Boolean ConvertGBKToUnicode (const Standard_CString fromstr, TCollection_ExtendedString& tostr);
|
||||
|
||||
//! Converts non-ASCII CString <fromstr> in Big5 format
|
||||
//! to Unicode ExtendedString <tostr>.
|
||||
Standard_EXPORT static Standard_Boolean ConvertBig5ToUnicode (const Standard_CString fromstr, TCollection_ExtendedString& tostr);
|
||||
|
||||
//! Converts non-ASCII CString <fromstr> in ANSI format
|
||||
//! to Unicode ExtendedString <tostr>.
|
||||
Standard_EXPORT static void ConvertANSIToUnicode (const Standard_CString fromstr, TCollection_ExtendedString& tostr);
|
||||
|
Reference in New Issue
Block a user