On Thursday 26 August 2004 16:48, Prabu Subroto wrote:
dear my friends...
my QTable dan QMessageBox can not display umlaut letter such as ' ä ' (ae), ' ü ' (ue) and ' ö '(oe).
My QDataBase and my QLineEdit can display the umlaut letters but the QMessageBox and QTable don't.
Here I tried this line...
with QMessageBox:
int itemsidcomboBox = salesidcomboBox->currentItem(); if (itemsidcomboBox==0){ QMessageBox::warning(this, "Achtung !", "Für welche Berater ID ?" );
You have to convert that from UTF-8 to Unicode. QString uses Unicode everyhere. Use QString::fromUtf8() if you enter that in UTF-8. If you enter it in ISO-8859-1, Qt will silently take care of conversion to UTF-8. CU -- Stefan Hundhammer <sh@suse.de> Penguin by conviction. YaST2 Development SuSE Linux AG Nuernberg, Germany