Page 1 of 1

Displaying Chinese characters at design time

Posted: Thu Feb 19, 2009 6:49 pm
by 13051616
Environment:
MS Vista Ultimate 32
MS Visual Studio 2008, C#
TeeChart ActiveX v8 Unicode

I have seen the replies about displaying Chinese characters at runtime by using CodeUTF8String but what about at design time? I want the environment to select which language to use by what's in the resource files. When I try to put Chinese characters in using the editor (and the form is set to Chinese) I get "??".

Any help would be appreciated.

Posted: Fri Feb 20, 2009 10:23 am
by narcis
Hi loulblades,

Have you tried setting your VS2008 forms with encoding?

1. Go to Visual Studio's File menu
2. Choose "Save Form1.cs As".
3. Press the down arrow in the "Save" button and choose "Save with Encoding" and choose the encoding you wish to use there.

If this doesn't help don't hesitate to let us know.

Posted: Mon Feb 23, 2009 7:18 pm
by 13051616
Saving with encoding did not appear to help. My workaround at the moment is placing Visual Studios labels for headers and such. What a pain.

Posted: Mon Mar 02, 2009 12:14 pm
by yeray
Hi loulblades,

You probably need the multilanguage + unicode version. Note that the unicode version allows you to view unicode text at runtime using methods like CodeUTF8String, but the multilanguage version is the one that allows you to see the editors with the language you choose.

Could you please see if this version solves your problem?

Thanks in advance