all groups > visual studio .net general > march 2005 >
You're in the

visual studio .net general

group:

Chinese in coding


Re: Chinese in coding Lau Lei Cheong
3/20/2005 12:00:00 AM
visual studio .net general:
I'm developing using C# and do not run into any problem doing both things.
(i.e.: no special handling is needed)

I believe the same will go with C++ as strings are in Unicode in .NET
environment(not sure if it's the case with MFC or ATL), maybe you can be
more confident on that if your client will run it on Chinese version of .NET
runtimes.

"ckhung" <ckhung@discussions.microsoft.com> ¦b¶l¥ó
news:81B81775-3D4E-4582-B95C-9A077ED9E85D@microsoft.com ¤¤¼¶¼g...
[quoted text, click to view]

Chinese in coding ckhung
3/20/2005 5:13:01 AM
How to display chinese in .Net C++ in Messagebox and display in GDI graphic?
Please in detail as I am new or refer me to resources.
Re: Chinese in coding ckhung
3/20/2005 8:41:01 PM
I would like you to show me the way to do it. I am using US version .Net C++.
I am very new to the Chinese computing.

[quoted text, click to view]
Re: Chinese in coding ckhung
3/21/2005 6:19:05 AM
I am using ,NET C++. Please show me step by step to do it.

This code will display ?????? in the Box when it is run:

MessageBox::Show("比赛方法");





[quoted text, click to view]
Re: Chinese in coding Lau Lei Cheong
3/21/2005 4:03:05 PM
I suggest you to write a testing application by displaying some Chinese
words and see if there's garbage character displayed.
You don't have to worry if it runs without problem.

And which type of C++ library are you writing on? MFC/ATL/.NET framework? I
think the level of multilingual support can be different.

"ckhung" <ckhung@discussions.microsoft.com> ¦b¶l¥ó
news:CBF86D12-465F-48C5-9775-D30C8CF2A527@microsoft.com ¤¤¼¶¼g...
[quoted text, click to view]

Re: Chinese in coding ckhung
3/21/2005 7:01:03 PM
How does the program know which font page of Unicode to use?
Please show me step by step or show me in a simple code that will display
chinese.

[quoted text, click to view]
Re: Chinese in coding Lau Lei Cheong
3/22/2005 9:30:56 AM
While I have no problem in running and display these characters on English
Win2003, perheps it's worthwhile to check if you've installed the Chinese
font on there, and if you've save the source in Unicode in "File" ->
"Advanced save options" in code view.

"ckhung" <ckhung@discussions.microsoft.com> ¦b¶l¥ó
news:2E39DCAD-DFB3-4F18-A0F6-12D001FF99F6@microsoft.com ¤¤¼¶¼g...
[quoted text, click to view]

Re: Chinese in coding aQuaplug
4/4/2005 2:37:06 AM
oops.. problem is just OS language setting.
It seems you use ANSI code your program.
If you use ANSI, of course you can't see Chinese character.
look. this way is set your OS another language.
Control Pannel -> National & Language Option -> Advanced
There's a language setting for a non-Unicode application. Isn't it?

and.. I think Use Unicode is better way. If you use ANSI, users set their
languages
same as you too.
In VS, set Unicode is simple.
Project -> properties -> General -> Charaters
Change Mutibytes to Unicode.
( I'm using OS/VS of another language, so some name of Menu item would be
not identical. )

bonus~. If you stand to use ANSI code. Use "Apploc". search it in MS.
It's more compatible way than change your OS codepage. :)

then..


[quoted text, click to view]
AddThis Social Bookmark Button