The following will generate a header containing "Ä©" instead of "é"
What am i doing wrong ?Qt Code:
item->setText("é"); ui->tableWidget->setHorizontalHeaderItem( i++, item);To copy to clipboard, switch view to plain text mode
The following will generate a header containing "Ä©" instead of "é"
What am i doing wrong ?Qt Code:
item->setText("é"); ui->tableWidget->setHorizontalHeaderItem( i++, item);To copy to clipboard, switch view to plain text mode
Anyone ?
QTableWidget really don't support UTF8/Unicode ?
You have to set utf8 as the default for decoding literal strings to QString with
preferably before you create any widget.Qt Code:
To copy to clipboard, switch view to plain text mode
Bookmarks