QLocale::countryToString typo + dubious format
-
Hello,
Using QLocale::countryToString, I have noticed that QLocale::countryToString(QLocale::Andorra) returns "andorra" instead of "Andorra".
Besides, when the country name has several words, like United States, the method returns "UnitedStates" i.e. without white space between upper case letters. Is it the desired behavior? Why if it is so?
Thanks for helping!
-
Hi,
Which version of Qt are you using ?
These data are generated based on http://www.unicode.org/cldr/
-
Hi,
I am using Qt 5.5 but I have noticed this problem (absence of white space) ever since I started using Qt (something like version 4.7).
I checked out your link but I am not able to tell which chart or file states the official name or at least English spelling of countries. However, in every chart displayed, the name of a country is spelled in a human readable format i.e. with white spaces so my guess is that Qt is not displaying the country names right. -
See QTBUG-34287 you have the reason there of why it's like that