Details
-
Suggestion
-
Resolution: Duplicate
-
P3: Somewhat important
-
4.2.0
-
None
Description
It would be useful to have functionality to be able to convert text between the different quoting conventions based on the region information held in QLocale.
This could be implemented as "start-quote-character" and "end-quote-character" via
functions on QLocale. This might not be enough because quoting can variate depending on the length of the quoted string, for example(e.g, whether it's a single char or not).
Another way could be to provide a function like QString QLocale::quote(const QString &toBeQuoted).