[Qt-interest] Display Euro Symbol in QTableWidget header.
Colin S. Miller
no-spam-thank-you at csmiller.demon.co.uk
Wed Nov 18 16:08:57 CET 2009
Wm. G. Urquhart wrote:
> Hi List,
>
> I need to create a two line column header that reads "Carbon\n€/tonne"
> however, I can't get the Euro symbol to appear correctly, can anyone
> help me please.
>
Hi William,
Are you using a literal € in the string?
As a guess, I'd say that the file is saved in a different locale
than the QTableWidget is expecting. Probably one is in UTF-8 and
the other is in ISO-Latin-1. If you can, could you indicate
what character(s) the QTableWidget is displaying instead of €?
As an experiment, does £ work?
HTH,
Colin S. Miller
More information about the Qt-interest-old
mailing list