1
0
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:
anv
2017-11-28 12:31:08 +03:00
committed by bugmaster
parent 0ab4e62183
commit 31e026ba63
7 changed files with 11206 additions and 2 deletions

View File

@@ -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);