diff options
author | Ladislav Zezula <zezula@volny.cz> | 2025-06-02 20:28:39 +0200 |
---|---|---|
committer | Ladislav Zezula <zezula@volny.cz> | 2025-06-02 20:28:39 +0200 |
commit | 630de2ee1925d1d1b9bf1404e189a5a319ee3c1e (patch) | |
tree | e8c394394c8c4cd19f8989967c6b36f7dc0f844e /src/StormCommon.h | |
parent | 0ce73c5b464cb438f9faae69c5a8305241898b54 (diff) |
Fixed bug in test program that caused bad cosmetic effects during log print
Diffstat (limited to 'src/StormCommon.h')
-rw-r--r-- | src/StormCommon.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/StormCommon.h b/src/StormCommon.h index bf82039..52f5cd0 100644 --- a/src/StormCommon.h +++ b/src/StormCommon.h @@ -277,6 +277,12 @@ void StringCat(TCHAR * szTarget, size_t cchTargetMax, const char * szSource); #endif
//-----------------------------------------------------------------------------
+// UTF-8 support
+
+DWORD UTF8_DecodeCodePoint(const BYTE * pbString, const BYTE * pbStringEnd, DWORD & dwCodePoint, size_t & ccBytesEaten);
+size_t UTF8_EncodeCodePoint(DWORD dwCodePoint, LPBYTE Utf8Buffer);
+
+//-----------------------------------------------------------------------------
// Encryption and decryption functions
#define MPQ_HASH_TABLE_INDEX 0x000
|