Hi!
I'm using CP-1251 on my Mysql local server.
So, when fileds contained russian characters, I only see "??????????????????"
What can i do to set locale? Maybe i need firstly say to mysql server "set locale ..." ?
Hi!
I'm using CP-1251 on my Mysql local server.
So, when fileds contained russian characters, I only see "??????????????????"
What can i do to set locale? Maybe i need firstly say to mysql server "set locale ..." ?
Succes is 5% of talent and 95% of work!
Use QTextcodec for convert your data to unicode.
a life without programming is like an empty bottle
If I'm using SqlTableModel when we need call this function ?Originally Posted by zlatko
Succes is 5% of talent and 95% of work!
sorry i used qt3 ...but i think next code will be helpfulOriginally Posted by blackliteon
Qt Code:
// get data from recordsetTo copy to clipboard, switch view to plain text mode
a life without programming is like an empty bottle
Thanks for example!Originally Posted by zlatko
Succes is 5% of talent and 95% of work!
Bookmarks