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

Add C++11 Unicode literal support to QString

    XMLWordPrintable

Details

    • Suggestion
    • Resolution: Won't Do
    • P3: Somewhat important
    • None
    • 5.0.0 Beta 1, 5.0.0 RC 1, 5.0.0
    • None

    Description

      Please add constructors that takes C++ Unicode literal types so we can build a QString like this:

      QString u16String(u"A Unicode string"); // char16_t[]
      QString u32String(U"A Unicode string"); // char32_t[]

      Attachments

        Issue Links

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

          Activity

            People

              thiago Thiago Macieira
              stephenju Stephen Chu
              Vladimir Minenko Vladimir Minenko
              Alex Blasche Alex Blasche
              Votes:
              2 Vote for this issue
              Watchers:
              11 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes