[Mono-winforms-list] Unicode not working on Linux nor OS X
mhartmann at vr-web.de
Mon Dec 21 02:54:20 EST 2009
I have also the problem to show CJK characters if LANG and LC_ALL are set to
The following sample can reproduce this:
public static void Main(string args)
string text ="\u30C0";
Form form = new Form();
form.Text = text;
Label label = new Label();
label.Text = text;
When sample is running it shows only squares where CJK characters should be.
If I set LANG to ja_JP.utf8, then the characters are shown correctly.
Greetings from Germany,
Natalia Portillo wrote:
> In many parts of my program different language charsets can arrive.
> While the charset is inside ISO8859-15 like á ó and so on it works just
> complaining on OS X (not on Linux) about Mac Roman.
> Controls used where TextBox and RichTextBox.
> However, when the charset is Unicode, like Japanese charset, it just shows
> Of course Mac OS X does have native and un-disable-able unicode support
> and Linux is correctly configured, japanese characters are correctly show
> in any application and bot LANG and LC_ALL are set es_ES.UTF-8.
> Testing is so easy as to use Google APIs to translate "hi" from English to
> Japanese, that should result in "やあ" and gives only two squares.
> Natalia Portillo
View this message in context: http://old.nabble.com/Unicode-not-working-on-Linux-nor-OS-X-tp26806282p26870868.html
Sent from the Mono - WinForms mailing list archive at Nabble.com.
More information about the Mono-winforms-list