Congratulations to our 2022 Qt Champions!

Displaying Unicode Characters

  • I have 2 machines, both running Ubuntu 11.10 (one is 32bit, the other one 64bit). I want to display a unicode character in a QLabel. I've done the following:


    This (and basically all Unicode characters) can be diasplayed on my 32bit machine, but for some reason it doesn't show (or shows as a rectangle) on my 64bit machine. Does anyone know why this happens and how I can ensure that it will always show?

  • AFAIK, the "Rectangle"s are displayed when you're missing a font in you're system. "Question Mark"s are displayed when you have a problem with encoding.

Log in to reply