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] "ckhung" wrote:
> 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.
>
> "Lau Lei Cheong" wrote:
>
> > 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...
> > > 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("¤ñ?¤èªk");
> > >
> > >
> > >
> > >
> > >
> > > "Lau Lei Cheong" wrote:
> > >
> > > > 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¢Do
> > > > news:CBF86D12-465F-48C5-9775-D30C8CF2A527@microsoft.com ?????g...
> > > > > 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.
> > > > >
> > > > > "Lau Lei Cheong" wrote:
> > > > >
> > > > > > 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¢FDo
> > > > > > news:81B81775-3D4E-4582-B95C-9A077ED9E85D@microsoft.com ?????g...
> > > > > > > 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.
> > > > > > > Thanks
> > > > > >
> > > > > >
> > > > > >
> > > >
> > > >
> > > >
> >
> >