缅甸缅甸文字在Richtextbox上没有正确显示c# [英] Myanmar Burmese text not showing properly on Richtextbox c#

查看:200
本文介绍了缅甸缅甸文字在Richtextbox上没有正确显示c#的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

你好

无法在Richtextbox c#上正确显示缅甸缅甸语文本,我得到一些 框而不是真实文本,任何建议?

我已经尝试了几种没有成功的字体,除非有字体,我默认情况下不知道或未安装在系统中... 

问候

Bruno

推荐答案

编码错误。 大多数流类默认为Ascii Encoding,它会破坏Unicode数据。 确保您的流使用Unicode编码。 如果您从网页获取数据,请检查网页源代码,然后
找出正在使用的编码。
The Encoding is wrong.  Most stream classes default to Ascii Encoding which will corrupt Unicode data.  Make sure your streams are using Unicode Encoding.  If you are getting the data from a webpage then check the webpage source code and find out the encoding that is being used.


这篇关于缅甸缅甸文字在Richtextbox上没有正确显示c#的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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