The following will generate a header containing "Ä©" instead of "é"

Qt Code:
  1. item->setText("é");
  2. ui->tableWidget->setHorizontalHeaderItem( i++, item);
To copy to clipboard, switch view to plain text mode 
What am i doing wrong ?