Hi, I want to translate my program to english, but there is a problem with polish signs.
I can't translate strings which contain polish signs, like 'ó', 'ł', 'ż'. For example, when I run the program, QTranslator changes "Edycja" to "Edit", but doesn't change the "Menu główne" to "Main menu".
I have set:

Qt Code:
  1. QTextCodec::setCodecForTr(QTextCodec::codecForName("UTF-8"));
To copy to clipboard, switch view to plain text mode 


and in .pro file:

Qt Code:
  1. CODECFORTR = UTF-8
  2. CODECFORSRC = UTF-8
To copy to clipboard, switch view to plain text mode 

.ts file:

Qt Code:
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <!DOCTYPE TS>
  3. <TS version="2.0" language="en_US" sourcelanguage="pl_PL">
  4. <defaultcodec>UTF-8</defaultcodec>
To copy to clipboard, switch view to plain text mode 


I use linux and:

Qt Code:
  1. lupdate version 4.7.0
  2. lrelease version 4.7.0
To copy to clipboard, switch view to plain text mode 

Does anyone know what I'm doing wrong?