首页 > 其他 > 详细

why chinese character is messy at VS2012 using qt5?

时间:2014-03-05 17:17:19      阅读:572      评论:0      收藏:0      [点我收藏+]

i have tried so many ways at webiste to solve this fucky problem,

but no ways keep going,why?

we have ignore that, although we have change the coding-ways in VS2012 as follows:

bubuko.com,布布扣

but it remains messy,why?

we should konwn although we changed the coding sytle ,but the string in our C++ remains unchanged ,so you need to re-input them!!!!

that‘s the point.

now i give you a sure-to-make-effective ways :

1.change you code-sytle in File->advanced save setting, select Unicode (UTF-8 with signature).

2.re-input your chinese.!!!

3.use setWindowTitle(QStringLiteral("湖南")); 

make sure you have done 3 steps.it works now!

why chinese character is messy at VS2012 using qt5?,布布扣,bubuko.com

why chinese character is messy at VS2012 using qt5?

原文:http://www.cnblogs.com/dragen/p/3581223.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!