Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-227

Suggestion to have functionality to get the format of quotes based on QLocale

    XMLWordPrintable

Details

    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).

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            dzyubenk Denis Dzyubenko (Inactive)
            admin Administrator
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes