Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

QTextCodec



  • 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.


  • Lifetime Qt Champion

    @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?)?



  • @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)


Log in to reply