[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: inputting characters by hexadigit

From: Juri Linkov
Subject: Re: inputting characters by hexadigit
Date: Sat, 19 Jul 2008 03:30:30 +0300
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (x86_64-pc-linux-gnu)

> Stephen> <sigh /> ":-" C-q "376" RET (:-þ) to you.  (It means "d'oh, I
> Stephen> get it now" in Japanese, I don't use it in English.)
> OK, no one but some (fellow) old-timers.  :^)
> But that doesn't work for me.  I get \376 rather than þ.

It inserts \376 rather than þ due to the following code in `quoted-insert':

    ;; Assume character codes 0240 - 0377 stand for characters in some
    ;; single-byte character set, and convert them to Emacs
    ;; characters.
    (if (and enable-multibyte-characters
             (>= char ?\240)
             (<= char ?\377))
        (setq char (unibyte-char-to-multibyte char)))

I don't know if this code is still valid now?

Juri Linkov

reply via email to

[Prev in Thread] Current Thread [Next in Thread]