如何在Visual Studio中显示Unicode字符? [英] How to show Unicode characters in Visual Studio?

查看:57
本文介绍了如何在Visual Studio中显示Unicode字符?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我的语言是波斯语,我使用Unicode UTF-8保存页面.我将文件从一个系统传输到另一个系统.现在我的页面出现问题.我看不到正确的文本.

My language is Persian and I use unicode UTF-8 to save pages. I transfer files from one system to another.Now I have problem with pages.I could not see text right.

这是一些代码:

if (ClsTch.IsGradeLock)
     Gnr.AddCell(r, ClsTch.EvaluationFormList.GetStat().ScoreText);
else
     Gnr.AddCell(r, "ÈÓÊå äÔÏå");

如何解决?

推荐答案

Format 控制面板-> 区域和语言->>标签,将 Format 更改为波斯语;然后在 Administrative 标签中,单击更改系统区域设置按钮并将其设置为波斯语.然后重新启动系统.

go to Control Panel -> Region and Language -> in Format tab, change Format to Persian; then in Administrative tab, click on change system locale button and set it to Persian. Then Restart your system.

这篇关于如何在Visual Studio中显示Unicode字符?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆