Problem displaying CJK characters in WinForms controls
mhartmann <[email protected]>
| Newsgroups | gmane.comp.gnome.winforms |
|---|---|
| Message-ID | <[email protected]> |
Hi,
I'm having a problem when I try to display CJK characters in WinForms
controls such like a TreeView or a simple Label.
When I use the following code to create a simple form with a label within,
the title of the form is shown correctly while the text of the label is
shown as "boxes".
using System;
using System.Windows.Forms;
class MainClass
{
public static void Main(string[] args)
{
string text ="\u30C0";
Form form = new Form();
form.Text = text;
Label label = new Label();
label.Text = text;
form.Controls.Add(label);
Application.Run(form);
}
}
Is there something I missed to install or did I forget to set any
properties?
Greetings from Germany,
Martin
--
View this message in context: http://old.nabble.com/Problem-displaying-CJK-characters-in-WinForms-controls-tp26588086p26588086.html
Sent from the Mono - WinForms mailing list archive at Nabble.com.
_______________________________________________
Mono-winforms-list maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/mono-winforms-list