PDA

View Full Version : qt and mysql encoding problem



ferasodh
8th September 2007, 09:26
Hi I 'am new to Qt and it is really a good choice for programmers. I start an application that connects to mysql using qt4 in kdevelop but i face a problem that i stroed arabic data in the database and i can read it in knoda but when i retrieve data using qt (tableview) i got un understandable text. i tried to change database encoding in mysql using alter database but i got the same problem any help...

marcel
8th September 2007, 09:48
See the last post in this thread. I think it has already been solved once.
http://www.qtcentre.org/forum/f-qt-programming-2/t-qsqlquery-always-return-junk-value-while-for-varchar-oracle-8422.html/?highlight=encoding

Regards