View Single Post
Posts: 203 | Thanked: 445 times | Joined on Mar 2010
#18
Originally Posted by pichlo View Post
How does that help? The characters show OK in the source (in Leafpad).
They show muddled up in the compiled app, like this:
As far as I know, Qt by default works with/expects stuff to be UTF-8-encoded.
If the output doesn't match what you put in the source then either Qt is set to expect something else, or your input is not UTF-8.

That said, leafpad seems to save UTF-8-encoded by default, so I'm at a loss.
 

The Following User Says Thank You to foobar For This Useful Post: