RE: Surrogates in WordPad

From: Murray Sargent (
Date: Sun Feb 01 2004 - 14:19:53 EST

  • Next message: Dean Snyder: "Examples of Cuneiform Ideographic Descriptor Usage"

    Type the UTF-32 code for the character instead of the surrogate pair. For example to get a math italic i, type 1D456 and then Alt+x. Lone surrogate codes aren't desirable. RichEdit does allow the high code to come in alone via the WM_CHAR message, since some IMEs can only work with 16 bits at a time. WM_UNICHAR takes the UTF-32 code as well.


    From: on behalf of Laurentiu Iancu
    Sent: Sat 1/31/2004 5:47 PM
    Subject: Surrogates in WordPad


    In Windows 2000 WordPad I can type a high surrogate code, press Alt+X, then
    type a low surrogate code, press Alt+X again and obtain the corresponding
    character. This does not seem to work in Windows XP WordPad. Is there a way
    to enable this functionality in XP WordPad?

    My guess is that the new RichEdit control might not accept surrogates in order
    to prevent isolated surrogates from being entered. I would appreciate any
    qualified comments.

    Thank you,

    This archive was generated by hypermail 2.1.5 : Sun Feb 01 2004 - 15:04:30 EST