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

info = QTextCodec::codecForName("GB2312")->toUnicode (xxx);

    XMLWordPrintable

Details

    • Bug
    • Resolution: Incomplete
    • Not Evaluated
    • None
    • 4.8.4
    • None
    • Qt Mingw 4.8.4
      Program: WinXP SP2
      test: other PC ,like WinXP SP2 and Win7

    Description

      xxx is "char *".
      When My Code include this like QTextCodec::codecForName . My PC (winxp sp2) run it very well.

      but When I copy the exe file to other PC(XP and Win7). The App always crash. del this line,that's OK.
      when I using "QLatin1String or toLation",that's ok in all PC.
      when I using the QSetting::setIniCodec (QTextCodec::codecForName ("UTF-8")),that's ok in all PC.

      Attachments

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

        Activity

          People

            thiago Thiago Macieira
            gonboy gonboy
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes