diff options
Diffstat (limited to 'src/inc/fstring.h')
-rw-r--r-- | src/inc/fstring.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/inc/fstring.h b/src/inc/fstring.h index 68c9098c8f..9245885896 100644 --- a/src/inc/fstring.h +++ b/src/inc/fstring.h @@ -21,6 +21,9 @@ namespace FString { + // Note: All "length" parameters do not count the space for the null terminator. + // Caller of Unicode_Utf8 and Utf8_Unicode must pass in a buffer of size at least length + 1. + // Scan for ASCII only string, calculate result UTF8 string length HRESULT Unicode_Utf8_Length(__in_z LPCWSTR pString, __out bool * pAllAscii, __out DWORD * pLength); |