Mono WinForms和Unicode字符 [英] Mono WinForms and Unicode characters

查看:54
本文介绍了Mono WinForms和Unicode字符的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在开发一个VS2010 C#应用程序,该应用程序允许用户以*英语以及印地语(Unicode)输入数据.

I am working on a VS2010 C# application that allows users to input data in *English as well as in Hindi (Unicode).

该应用程序在Windows上运行良好,但是在Linux(使用Mono-2.10.8)中,它不显示Unicode字符,而是显示框.

The application is working well in Windows, but in Linux (with Mono-2.10.8), instead of displaying Unicode characters it show boxes.

单个unicode问题http://img534.imageshack.us/img534/1395/vry.png

我试图在Debian Wheezy Stable和Ubuntu LTS 12.04上运行它.我也试图用MonoDevelop编译它.仍然没有运气.

I have tried to run it on Debian Wheezy Stable and Ubuntu LTS 12.04. I have also tried to compile it with MonoDevelop; still no luck.

是否有解决方法?

推荐答案

我找到了要与社区分享的解决方案.

I found the solution that i want to share with the community.

问题出在当地.我将环境var LANG设置为hi_IN.utf-8,它解决了该问题.

The problem was with local. I set environment var LANG to hi_IN.utf-8 and it resolved the issue.

这篇关于Mono WinForms和Unicode字符的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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