Re:Glibc Buffer Overflow in Iconv
by frutiger on Sunday April 21, 2024 @02:03PM
(#40107797)
You need to translate any text content into UTF-16 before calling Win32 APIs in most cases.
[ Parent
| on HN ]
Re:Glibc Buffer Overflow in Iconv
by Mindless2112 on Sunday April 21, 2024 @02:54PM
(#40108198)
You can set the code page to UTF-8 now.
https://learn.microsoft.com/en-us/windows/apps/design/global...
Re:Glibc Buffer Overflow in Iconv
by bdd8f1df777b on Sunday April 21, 2024 @10:53PM
(#40111077)
But if you are calling Win32 APIs, you can call Win32 APIs MultiByteToWideChar/WideCharToMultiByte to convert between UTF8 and UTF16. No need for iconv.