Re: Want Input boxes to accept unicode strings on Standard Window
- From: "David Ching" <dc@xxxxxxxxxxxxxxxxxxxxxx>
- Date: Tue, 24 Jul 2007 22:33:56 GMT
"Paul Wu" <PaulWu@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:11226219-DE3D-4722-BDCE-7FDB8C49C766@xxxxxxxxxxxxxxxx
Thanks for replying. As I said, building it with Unicode takes huge
effort --
not feasible at current stage. We just want the applications to be albe to
process some unicode texts now (on Standard Windows XP).
I looked at the application -- it was built with static MFC libraries
(Visual Studio 2003). So the MFC libraries may not the problem -- I just
don't understand why when it runs on Chinese Windows XP, the Edit Controls
can accept Chinese texts.
There is a Regional Control Panel that lets you specify the default code
page for non-Unicode apps. If you set that to Chinese, then restart your
app, does it work?
If this works, I think you can call SetThreadLocale() in your app's
CWinApp-derived::OnInitInstance() method to accomplish the same thing
without worrying about the Control Panel setting.
-- David
.
- Follow-Ups:
- Re: Want Input boxes to accept unicode strings on Standard Window
- From: Tom Serface
- Re: Want Input boxes to accept unicode strings on Standard Window
- References:
- Re: Want Input boxes to accept unicode strings on Standard Windows XP
- From: Tom Serface
- Re: Want Input boxes to accept unicode strings on Standard Windows XP
- Prev by Date: Re: Want Input boxes to accept unicode strings on Standard Window
- Next by Date: Re: CThreadLocalObject Crash on Exit
- Previous by thread: Re: Want Input boxes to accept unicode strings on Standard Window
- Next by thread: Re: Want Input boxes to accept unicode strings on Standard Window
- Index(es):