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

QFont toString() method local language problem

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P2: Important
    • None
    • 5.13.1
    • GUI: Text handling
    • None
    • Windows

    Description

      When I try to convert a QFont to string with method of toString() , Font Style section of the string is corrupted when it has a non-English character. As in pictures I attached, the word Bold is Kalın in Turkish and the non-English character 'ı' is converted to many irrevelant characters. There is no problem with converting from this string with fromString() method, but because I save this information to a file, file size gets bigger and bigger. Also there is no way to convert this corrupted string to unicode.

      Attachments

        1. qtbug1.PNG
          qtbug1.PNG
          97 kB
        2. qtbug2.PNG
          qtbug2.PNG
          15 kB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            esabraha Eskil Abrahamsen Blomfeldt
            akinyilmaz Akın Yılmaz
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes