QLocale::name() looks promising:Originally Posted by L.Marvell
QString QLocale::name () const
Returns the language and country of this locale as a string of the form "language_country", where language is a lowercase, two-letter ISO 639 language code, and country is an uppercase, two-letter ISO 3166 country code.
See also language() and country().IMO that's the encoding, not locale.Originally Posted by L.Marvell




Reply With Quote
Bookmarks