3 ms·
This resonate so much for me, in VLC. VLC has a very large number of users on Windows (80% of our users), yet almost none of the dev use Windows to code. There
by jbk 13y ago
This resonate so much for me, in VLC.
VLC has a very large number of users on Windows (80% of our users), yet almost none of the dev use Windows to code. Therefore, we use UTF-8 char* everywhere, notably in the core. We use UTF-16 conversions only in the necessary Windows modules, that use Windows APIs. Being sure we were UTF-8 everywhere took a lot of time, tbh...
But the worse are formats like ASF (WMV) or MMS that use UTF-16/UCS-2 (without correctly specifying) them and that we need to support on all other platforms, like OSX or Linux...
- lelandbatey 13y agoWow, I've learned even more about VLC (and programming in general) and I'm even more impressed. Thanks for this little insight!
- username42 13y agoI am also convinced that wide char should be avoided and are one of the bad thing of java. It is very nice to see that more and more people agree and that important projects like VLC already apply this principle. Will 2014 become the year we kill wide chars ?