Hi Spirit.
Thanks a lot ..
Do you think this will do for file saving as will.
QTextCodec::setCodecForCStrings(QTextCodec::codecForName("UTF-8"));
To copy to clipboard, switch view to plain text mode
I have add this into the code as will.
I have Class which you set some data in it then you call getInsertSql() and
it will make the SQL statement .. i do not know if .toUtf8() will help.
out << property->getInsertSql().toUtf8() <<'\n';
out << property->getInsertEF().toUtf8()<<'\n';
out << property->getInsertSql().toUtf8() <<'\n';
out << property->getInsertEF().toUtf8()<<'\n';
To copy to clipboard, switch view to plain text mode
After your replay I think this is the best.
QTextStream out(&sqlFile);
out.setCodec(QTextCodec::codecForName("UTF-8"));
To copy to clipboard, switch view to plain text mode
I hop it will work.
Thanks
Best Regards
Bookmarks