Although antoyo answer worked, I was not too sure about that. So, I decided to research.
All my documents are encoded in UTF-8 , like most web pages. The symbol Γ has a code point UTF UTF + 00DF .
Since UTF-8 is a variable length encoding, in binary form, Γ will be encoded as 11000011 10011111 or C3 9F . Since, by default, Qt relies on Latin1 coding. He would read Γ as two different characters. The first C3 will be mapped to Γ , and the second 9F will not be mapped to anything, since Latin1 does not recognize bytes between 128-159 (in decimal).
This is why Γ displayed as Γ when using Latin1 encoding.
Note. Maybe you should figure out how UTF-8 encoding works, because otherwise it seems a little unintuitive that Γ takes two bytes, although its DF code point is less than FF and should only consume one byte.
source share