Refine QLocale constructor documentation

Clarify that the "minus sign" is a plain ASCII U+002D dash, not U+2212
minus sign; and, for symmetry, that the underscore is U+005F.

Change-Id: I7250959d36e56f960dac24a739a1a8826a6bc578
Reviewed-by: Paul Wicking <paul.wicking@qt.io>
This commit is contained in:
Edward Welbourne 2020-10-14 16:39:23 +02:00
parent 5a948dd50b
commit 488584c944

View File

@ -940,7 +940,8 @@ QLocale::QLocale(QLocalePrivate &dd)
\li and codeset and modifier are ignored.
\endlist
The separator can be either underscore or a minus sign.
The separator can be either underscore \c{'_'} (U+005F, "low line") or a
dash \c{'-'} (U+002D, "hyphen-minus").
If the string violates the locale format, or language is not
a valid ISO 639 code, the "C" locale is used instead. If country