linux中文乱码解决
来源:互联网 发布:c语言基础书籍推荐 编辑:程序博客网 时间:2024/06/05 14:37
QByteArray indexStrTmp;
indexStrTmp.clear();
indexStrTmp += "@";
for (int i = 0; i < listpointQXZ.count(); i++)
{
indexStrTmp += "\t" + listpointQXZ[i].name.toLocal8Bit(); //中文
}
indexStrTmp += "\r\n";
QTextCodec *gb2312 = QTextCodec::codecForName("GB2312");
QTextCodec::setCodecForLocale(gb2312);
QString indexStr2gb2312 = gb2312->toUnicode(indexStr.toLocal8Bit());
indexFormat.append(indexStr2gb2312.toLocal8Bit());
阅读全文
0 0
- linux解决中文乱码
- 解决Linux中文乱码
- 解决Linux中文乱码
- 解决Linux中文乱码
- Linux 中文乱码解决
- 解决Linux中文乱码
- 解决Linux中文乱码
- 解决linux中文乱码
- Linux 中文乱码解决!
- 解决Linux中文乱码
- 解决Linux中文乱码
- 解决linux中文乱码
- 解决Linux中文乱码
- 解决Linux中文乱码
- Linux 中文乱码解决!
- 解决linux中文乱码
- 解决Linux中文乱码
- 解决Linux中文乱码
- python的urllib2和beautifulsoup编写爬虫
- 线段树 高速公路(road)
- QuickSort快速排序
- git知识总结
- SB树
- linux中文乱码解决
- Composer自动加载实现
- poj2992(求因子个数)
- Angular表单验证
- [数位DP] Codeforces #809C. Find a car
- python 关于循环链表的实现
- spring之aop术语和配置
- 让自己的实力配得上自己的梦想
- 【LeetCode】175、combine two tables ; 176. Second Highest Salary