Unicode String in TreeView

M

miztaken

Hi,
I have a string with some unicode characters and when i tried to
displayed it in TreeView its not displaying.

I am doing like this:
TreeNode tn = new TreeNode("unicodestring");
treeView.Nodes.Add(tn);

i can see the unicode characters in DEBUG mode in Visualizers (XLM,
HTML and TXT) but i cant see it on TreeView, it gets displayed as
squares.


What am i doing wrong here?

help me
miztaken
 
C

Cor Ligthert [MVP]

miztaken,

Do you see them on your own developing computer wrong or in a seperated
computer?

Cor
 
M

miztaken

Hi Pete,
Thanks for the reply.
I am using default Arial font for TreeView.
I have tried using Tahoma and Times New Roman and still the same case.
Which font do you suggest ?

And wont we have some condition where the used font might fail for the
text to be displayed? How can we handle such case?

thank you
 
M

Mihai N.

And wont we have some condition where the used font might fail for the
text to be displayed? How can we handle such case?

Windows in general does a good job to find a font that works.
(things like font fallback, font linking, font substitution)

Are you on XP? And if yes, do you have the proper support installed?

Try "Control Panel" - "Regional and Language Options" -- second
tab, "Languages", make sure to check the two checkboxes under
the "Supplemental language support" group
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top