hm...
I cant explain my trouble with situation exactly.(I cant speak english well)
1. get text(Korean text) from QTextEdit(plaintext), it stored in QString.
2. I'll send QString value to The Server.
(QString valude stored in char array[1000]and write to The Sever)
3. Sever is printf("%s",recv_data) in C Language.
QString(from QTextEdit) is already correct unicode(is it right?)
(qDebug<<string print correct Korean Text perfectly.)
so when i use .toUtf8() it will broken is it right?
I want convert QString(Korean text) to char[](c language unicode).
what can i do?
Bookmarks