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

QLocale::toString bug

    XMLWordPrintable

Details

    • Bug
    • Resolution: Incomplete
    • Not Evaluated
    • None
    • 5.9
    • Core: Locales (i18n)
    • None
    • Windows

    Description

      QString QLocale::toString(qlonglong i) const

      在win10系统中,选择,中国-中文,香港地区,转换出来的字符错误。

      错误在qlocale_tools.cpp QString qulltoa(qulonglong l, int base, const QChar _zero)中,该函数中以本地格式化数字unicode码连续来进行处理,例如一二三四五六七八九的unicode码并不连续,这样会导致转换出来的字符错误。

      Attachments

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

        Activity

          People

            Eddy Edward Welbourne
            wuwentao wentao wu
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes