0

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

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

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

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

有什么办法可以解决吗?

4

3 回答 3

1

Boxes like this is usually a sign that the codepoints displayed are not present in the font currently used. Did you make sure you were using a font with Hindi characters?

于 2013-06-30T16:39:45.450 回答
1

我找到了我想与社区分享的解决方案。

问题出在本地。我将环境变量 LANG 设置为 hi_IN.utf-8 并解决了这个问题。

于 2013-07-01T15:55:12.643 回答
0

我对日语也有类似的问题。我通过更改解决了我的问题LANG=ja_JP.utf-8

于 2013-12-10T02:04:38.007 回答