[Mono-winforms-list] Problem displaying CJK characters in WinForms controls

mhartmann mhartmann at vr-web.de
Tue Dec 1 03:46:35 EST 2009


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;

Is there something I missed to install or did I forget to set any

Greetings from Germany,
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.

More information about the Mono-winforms-list mailing list