Re: Want Input boxes to accept unicode strings on Standard Windows XP



Have you tried building with Unicode? I switched my applications over to this and I got away from a ton of code page problems. If you build with Unicode it will use the Unicode versions of the MFC as well.

Tom

"Paul Wu" <PaulWu@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message news:98CBAF48-324F-4167-85F0-6F4E72588838@xxxxxxxxxxxxxxxx

I have a MFC application that is currently built with MBCS mode. If I run
the program on a Chinese OS (Windows XP), the input boxes (Edit Controls)
can accept Chinese chars and display correctly. If I run it on a standard
English XP, the input boxes won't accept Chinese chars (display as "????") -- please note that I have already installed CKJ on the system and IE and
Outlook can display Chinese correctly.

Is this just because of different MFC libraries used for the application?
Can I force the application running on Standard XP to use the unicode
libraries so to force Edit Controls accept Chinese chars input? Currently
completely rewriting the code to use unicode is not option for me.

Any help will be appreciated.

Paul


--
Developer

.



Relevant Pages

  • Re: [ANN] ZipForge 2.76 has been released.
    ... Is this version broken on chinese chars? ... I made simple demo code ... CompressionLevel:= clFastest; ... but all files with unicode names cannot be packed into zip. ...
    (borland.public.delphi.thirdpartytools.general)
  • Re: Unicode VBScript messagebox
    ... Unicode code points in your MsgBox's message? ... After installing the east asian languages in my system. ... saved it in a .VBS file as Unicode and another .VBS file as UTF-8. ... two files display the same in Notepad on this US-English WXP-SP3 system. ...
    (microsoft.public.scripting.vbscript)
  • Re: How to read and Display Non English Characters
    ... I have installed the Asian language support. ... Note, however, that normally these fonts are not selected by default. ... Dicanio or both) on reading Unicode strings. ... too should be able to display the text. ...
    (microsoft.public.vc.mfc)
  • Re: Unicode & Pythonwin / win32 / console?
    ... > * Webbrowsers for example have to display defective HTML as good as ... unknown unicode chars as "?" ... > occasionally chinese chars are displayed cryptically on non-chinese ... If the decision for default 'strict' encoding on ...
    (comp.lang.python)
  • Re: Is this expression viewable on sci.math?
    ... In general, any characters outside ... >> display as expected on all screens. ... > display Unicode nowadays. ... I'm not certain a good news reader suffices: ...
    (sci.math)

Loading