Dr.Disrespect Grandmaster Cheater
Reputation: 3
Joined: 17 Feb 2016 Posts: 526
|
Posted: Sat May 07, 2016 3:53 pm Post subject: Big5 encoding in CE? |
|
|
Does CE support Big5 encoding? I know the array of bytes of a character (in the form of Big5 encoding) and want to show the string, but I do not know which function to call, and I couldn't find anything relevant in main.lua.
Thanks in advance.
Edit:
I googled a bit, in C++, this function is used to achieve the result:
| Code: |
int MultiByteToWideChar(
_In_ UINT CodePage,
_In_ DWORD dwFlags,
_In_ LPCSTR lpMultiByteStr,
_In_ int cbMultiByte,
_Out_opt_ LPWSTR lpWideCharStr,
_In_ int cchWideChar
);
(using code page 950)
|
|
|