News for hackers. Stuff that matters.
Re:A popular but wrong way to convert a string to uppercase ... by account42 on Wednesday October 09, 2024 @10:13AM (#41788200)
Qt really has no excuse for still using 16-bit characters since unlike the other two they have had multiple ABI breaks since then.
Re:A popular but wrong way to convert a string to uppercase ... by throwaway2037 on Thursday October 10, 2024 @03:37AM (#41796512)
"no excuse" -- I would respectfully disagree here. There are lots of very smart people who have worked on Qt. Really, some insanely good C++ programmers have worked on that project. I have no doubt that they have discussed changing class QString to use UTF-8 internally. To be clear, probably QChar would also need to change, or a new class (QChar8?) would be needed, in parallel to QChar. I guess they concluded the API breakage would be too severe. I assume Java and Win32/DotNet decided the same. Finally, you can Google for old mailing list discussions about QString using UTF-16. Many before have asked "can we just change to UTF-8?".
Re:A popular but wrong way to convert a string to uppercase ... by account42 on Thursday October 10, 2024 @03:48AM (#41796566)
Ah yes, appeal to authority. No better way to admit that you are talking out of your arse.