1 QString string("圆筱"); 2 const QByteArray byte = string.toUtf8(); 3 QString string2(""); 4 string2 = QString::fromUtf8(byte);
本文来自博客园,作者:筱筱竹林,转载请注明原文链接:https://www.cnblogs.com/bamboogrove/p/16352735.html
1 QString string("圆筱"); 2 const QByteArray byte = string.toUtf8(); 3 QString string2(""); 4 string2 = QString::fromUtf8(byte);
本文来自博客园,作者:筱筱竹林,转载请注明原文链接:https://www.cnblogs.com/bamboogrove/p/16352735.html