I tried using QTextCodec .But it didn't worked
QString stringName; //Normal English String to be converted into Japanese .
QString strTitle=QApplication::translate("Window", stringName.toUtf8().data() , 0 , QCoreApplication::UnicodeUTF8 ); //Returns Japanese Charater properly
QTextCodec *codec = QTextCodec::codecForName("UTF-8");
QByteArray byteString = codec->fromUnicode(strTitle);
I want const char * pointer pointing to this japanese string so i converted it to byteArray.
But here byteString doesn't contain proper japanese character .
I am using UTF-8 encoding as it solve all encoding problems in all languages of the world.
Let me know about my approach.
Thanks.
Bookmarks