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

toUcs4 not NUL-terminated

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P4: Low
    • 4.7.0
    • 4.6.2
    • None
    • All
    • fd36b47e8758562fc9ff350f292fc9ae9ed91d4e

    Description

      QString::toUcs4() currently returns a QVector<uint> which is not terminated by a 0.

      I think it should, to be coherent with C string management. Otherwise, it should be clearly documented.

      This is the kind of issue that can make one lost hours

      Attachments

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

        Activity

          People

            fenglich Frans Englich (closed Nokia identity)
            jirauser26727 user-04d21 (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes