I'm trying to display a "registered trademark" symbol (u+00AE) in the text of a QLabel. Yes, I've read the other posts on the forum on this topic but I'm failing to implement them.
I read the string from a database, store it in a QString, then use that to set the QLabel.setText(). The symbol appears as an open rectangle. I've used style sheets to set various font families on the QLabel and they all appear as various sized rectangles.
So I tried turning the string from the database (theQSqlQuery->value(2).toByteArray()) into a QString by using the QString::fromUtf8() function. This makes the symbol appear as a question mark. QString::fromLocal8bit() does the same thing.
Does anybody have suggestions as to what I am doing wrong?
Thanks!
Bookmarks