3 ms·
C doesn't have a string data type, let alone a locale-aware one. No, the Microsoft LPCWSTR madness doesn't count.
by pjc50 2y ago
C doesn't have a string data type, let alone a locale-aware one. No, the Microsoft LPCWSTR madness doesn't count.
- deleted 2y ago[deleted]
- NooneAtAll3 2y agobecause C doesn't make types aware, but functions? https://en.cppreference.com/w/c/string/multibyte https://en.cppreference.com/w/c/string/multibyte
- pjc50 2y agoYes. And the C type system isn't rich enough to represent "do not pass this type of string into this function".