3 ms·
Window's A APIs and conversion functions are best ingored entirely. Always use W functions and use your own converions (that can round-trip invalid UTF-16 like
by account42 2y ago
Window's A APIs and conversion functions are best ingored entirely.
Always use W functions and use your own converions (that can round-trip invalid UTF-16 like WTF-8) if you want to use an 8-bit encoding internally.
Most (all?) of the exploits here are already bugs because the applications don't properly handle unicode data.