数据是如何解析的

待续_1006 2016-12-23 11:21:33
代码调试内容

配置文件

#define KEY_TIME_LIMIT QString::fromLocal8Bit("options/timeLimit")

\x6c38\x4e45, \x957f\x671f这两个东东如何转换为永久和长期2个词的
...全文
265 1 打赏 收藏 转发到动态 举报
写回复
用AI写文章
1 条回复
切换为时间正序
请发表友善的回复…
发表回复
  • 打赏
  • 举报
回复
你想表达的是字符编解码吧,看名字就知道了。从本地8位,是根据系统字符编码~ QTextCodec *QTextCodec::codecForLocale()和fromlocal8位相互转换~前者定义如下: On Windows, the codec will be based on a system locale. On Unix systems, the codec will might fall back to using the iconv library if no builtin codec for the locale can be found. Note that in these cases the codec's name will be "System". 实在不懂 百度 ”Native编码“ 就懂了

16,215

社区成员

发帖
与我相关
我的任务
社区描述
Qt 是一个跨平台应用程序框架。通过使用 Qt,您可以一次性开发应用程序和用户界面,然后将其部署到多个桌面和嵌入式操作系统,而无需重复编写源代码。
社区管理员
  • Qt
  • 亭台六七座
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧