From 630de2ee1925d1d1b9bf1404e189a5a319ee3c1e Mon Sep 17 00:00:00 2001 From: Ladislav Zezula Date: Mon, 2 Jun 2025 20:28:39 +0200 Subject: Fixed bug in test program that caused bad cosmetic effects during log print --- src/StormCommon.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/StormCommon.h') diff --git a/src/StormCommon.h b/src/StormCommon.h index bf82039..52f5cd0 100644 --- a/src/StormCommon.h +++ b/src/StormCommon.h @@ -276,6 +276,12 @@ void StringCat(TCHAR * szTarget, size_t cchTargetMax, const TCHAR * szSource); 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 -- cgit v1.2.3