如何在C#中显示TextBox中的本地语言(Winforms) [英] How To Display Local Language In TextBox in C#( Winforms)

查看:75
本文介绍了如何在C#中显示TextBox中的本地语言(Winforms)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

嗨朋友..



在Winforms中,我已经拍摄了一个文本框......并从Google翻译器复制了一些本地语言文本并粘贴在那个TextBox中..

它在文本框中显示一些框符号..



我需要在文本框中显示印度本地语言文本从谷歌翻译器复制而没有文本框中的任何框符号..



任何人请帮助我...



提前感谢

解决方案

通常,所有印度脚本都包含在Unicode中,默认情况下,大多数脚本都受到几乎所有现代平台的支持。和.NET完全基于Unicode。很难想象你怎么能搞砸到这里。首先,检查您的字体是否支持所需的字符保留曲目



您可以使用应用程序字符映射来执行此操作,它与所有Windows版本捆绑在一起,CharMap.EXE。它还可以帮助您选择更合适的字体,如果您目前使用的字体是问题。



-SA

hi friends..

In Winforms, I Had Taken a Textbox..And Copied Some Text Of Local Language From Google Translator and Pasted In That TextBox..
It Is Showing Some Boxes symbols In The Textbox..

I need to show The Text of Indian Local language in the textbox that is copied from google translator without any box symbols in textBox..

any one please help me...

thanks in advance

解决方案

Usually, all Indian scripts are covered by Unicode and most of them are supported by nearly all modern platforms by default; and .NET is totally based on Unicode. It''s hard to imagine how could you screw up here. First of all, check up if your font supports the required character repertoire.

You can do it using the application "Character Map", which is bundled with all Windows versions, "CharMap.EXE". It will also help you to select more appropriate font, if the one you used so far was the problem.

—SA


这篇关于如何在C#中显示TextBox中的本地语言(Winforms)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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