Re: How can I input any Unicode character if I know its hexadecimal code?

From: jameskass@att.net
Date: Sat Nov 15 2003 - 12:20:37 EST

  • Next message: Michael \(michka\) Kaplan: "Re: How can I input any Unicode character if I know its hexadecimal code?"

    .
    MichKa wrote,

    > If you install the "Chinese (Traditional) - Unicode" IME as an input method,
    > than any program that is prepared to accept Unicode input will handle the
    > input of this interesting IME that is expecting UTF-16 code units. Although
    > obviously intended for CJK, it can be used fo any UTF-16 code point.

    On Windows XP...

    [Start] - [Control Panel] - [Regional and Language Options] -
    [Languages] -

    Check the box marked "Install files for East Asian..." under
    "Supplemental language support". (Requires +/- 230 megabytes)

    [Apply]

    You have to restart.

    Then, on same [Languages] tab, [Details]. Under [Installed Services],
    [Add].

    I went with "Chinese (Taiwan)" which offered "Chinese (Traditional)
    Unicode" as one of the options under "Keyboard Layout (IME) on the
    pop-up "Add Input language" window. Then [OK]. ([OK] [OK])

    You don't have to restart.

    Now, clicking on the "EN" button by the tool tray brings up the
    alternative IMEs. Selecting "Chinese (Taiwan)" renders the keyboard
    itself fairly useless, at first blush. The Shift key doesn't seem
    to work, for instance.

    So, there's an extra box appearing at the bottom left of the screen.
    Clicking on the left character (單) changes it to the letter "A", and
    the keyboard behaves more conventionally.

    (單 = "single, individual, only, lone", per the unihan database.)

    When the "單" character appears on that toggle button, typing
    "4e21" inputs "両", as expected. (At least in Notepad.) This method
    seems to be limited to the BMP. The input field length appears to be
    four.

    > input of this interesting IME that is expecting UTF-16 code units ...

    Oh, you did mention that, didn't you? I wonder if surrogate
    pairs will work here...

    Best regards,

    James Kass
    .



    This archive was generated by hypermail 2.1.5 : Sat Nov 15 2003 - 12:58:38 EST