Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt Creator and other tools
  4. QTextCodec

QTextCodec

Scheduled Pinned Locked Moved Unsolved Qt Creator and other tools
3 Posts 2 Posters 602 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • E Offline
    E Offline
    EgyProg
    wrote on last edited by
    #1

    hi every one i am doing a program read from txt file to text edit .
    in the file i have Russian text and English text and other languages .
    when i read from the file to the text edit , the english appears normaly buy the Russian and the other languages not .
    i tried to use set codec but i have not succeed yet any ideas how to solve this problems thanks in advance.

    jsulmJ 1 Reply Last reply
    0
    • E EgyProg

      hi every one i am doing a program read from txt file to text edit .
      in the file i have Russian text and English text and other languages .
      when i read from the file to the text edit , the english appears normaly buy the Russian and the other languages not .
      i tried to use set codec but i have not succeed yet any ideas how to solve this problems thanks in advance.

      jsulmJ Offline
      jsulmJ Offline
      jsulm
      Lifetime Qt Champion
      wrote on last edited by
      #2

      @EgyProg What encoding is used for your text file (UTF-8?)?
      How do you read the file and put the content into QTextEdit (can you show your code?)?

      https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      1
      • E Offline
        E Offline
        EgyProg
        wrote on last edited by EgyProg
        #3

        @jsulm thank you very much i have solved my problem but if you want i can send you if you like .
        i used (KOI8-R)

        1 Reply Last reply
        0

        • Login

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • Users
        • Groups
        • Search
        • Get Qt Extensions
        • Unsolved