Thread: Chinese characters

  1. #1
    Registered User
    Join Date
    Jul 2002
    Posts
    3

    Chinese characters

    I'm developing a language/grammar program for Chinese students learning English.

    My question is,
    Is there a way to make my windows program support Microsoft Chinese IME?
    (Pretty sure the answer is yes... more specifically, where can I find the reference that allows me to do that?)

    thanks.
    dan.

  2. #2
    Registered User Esss's Avatar
    Join Date
    Aug 2001
    Posts
    133
    > Is there a way to make my windows program support Microsoft Chinese IME?

    One assumes that since other programs do, there is a way.

    > where can I find the reference that allows me to do that?

    Searching MSDN for "Input Method Editor" would be a good start.

    Doesn't the IME come up automatically anyway, if it's enabled?
    Ess
    Like a rat in a maze who says,
    "Watch me choose my own direction"
    Are you under the illusion
    The path is winding your way?
    - Rush

  3. #3
    Registered User
    Join Date
    Jul 2002
    Posts
    3
    the Chinese IME that I have only works with internet explorer and word... maybe a few others. it will not work with a single flashcard program that i've looked at (this, among other things, necessitates a new program); and it won't input to the single compiler i have; though i do need a different compiler, i have no doubt that it will not support Chinese IME.

  4. #4
    Registered User
    Join Date
    Jul 2002
    Posts
    3
    I don't know if I'm supposed to do this when I find the answers. Someone should tell me if I'm not supposed to, otherwise when i find where to get the specific code for all the characters, I'm going to post those links too.

    http://msdn.microsoft.com/library/de...strategies.asp

    Internationalization Strategies
    Depending on your target operating system(s) and markets, you have several internationalization strategies:
     Your application uses Unicode and therefore runs on Windows 2000 and Windows NT (but not on Windows 95 or Windows 98).
    You use Unicode-specific functionality and all characters are 16 bits wide (although you can use ANSI characters in some parts of your program for special purposes). The C run-time library provides functions, macros, and data types for Unicode-only programming. MFC is fully Unicode-enabled.
     Your application uses MBCS and can be run on any Win32 platform.
    You use MBCS-specific functionality. Strings can contain single-byte characters, double-byte characters, or both. The C run-time library provides functions, macros, and data types for MBCS-only programming. MFC is fully MBCS-enabled.
     The source code for your application is written for complete portability — by recompiling with the symbol _UNICODE or the symbol _MBCS defined, you can produce versions that use either. For more information, see Generic-Text Mappings in TCHAR.H.
     Your application uses a wrapper library for missing Unicode functions on Windows 95, Windows 98 and Windows ME like the one described in the article Design a Single Unicode App that Runs on Both Windows 98 and Windows 2000. Wrapper libraries are also available commercially.
    You use fully portable C run-time functions, macros, and data types. MFC's flexibility supports any of these strategies.
    The remainder of this family of articles focuses on writing completely portable code that you can build as Unicode or as MBCS.
    See Also
    Unicode and MBCS | Locales and Code Pages

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. A development process
    By Noir in forum C Programming
    Replies: 37
    Last Post: 07-10-2011, 10:39 PM
  2. Replies: 1
    Last Post: 03-21-2009, 02:32 AM
  3. Replies: 10
    Last Post: 07-10-2008, 03:45 PM
  4. How do you check how many characters a user has entered?
    By engstudent363 in forum C Programming
    Replies: 5
    Last Post: 04-08-2008, 06:05 AM
  5. help with text input
    By Alphawaves in forum C Programming
    Replies: 8
    Last Post: 04-08-2007, 04:54 PM