Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories

UTF-16 chars in text field

hels_nlhels_nl Member Posts: 1
Hi,
I have an XML file (UTF-16) that contains "special" characters.
Displaying these in a TTreeview is no problem; the correct charater is displayed.

Now i want to copy the TTreeNode string to a text field; this is where i am getting into trouble. The character is displayed as a "," or a "block" in the text field.

I want to display "n" (0x82 0x82 0x6e).
The "," in this example are actually "E with a forward quote above it".

Note: I use SAME font for both the TTreeview and the text field !

I have the feeling that i must perform some kind of character conversion, but i don't know how to proceed.

Does anybody have experience with this ?

Thanks in advance.
Sign In or Register to comment.