3 ms·
С
by sam_lowry_ 1y ago
С
- pjc50 1y agoC doesn't have a string data type, let alone a locale-aware one. No, the Microsoft LPCWSTR madness doesn't count.
- deleted 1y ago[deleted]
- NooneAtAll3 1y 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 1y agoYes. And the C type system isn't rich enough to represent "do not pass this type of string into this function".