[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: inputting characters by hexadigit
From: |
David De La Harpe Golden |
Subject: |
Re: inputting characters by hexadigit |
Date: |
Mon, 21 Jul 2008 06:35:56 +0100 |
User-agent: |
Mozilla-Thunderbird 2.0.0.14 (X11/20080509) |
Stefan Monnier wrote:
>> ;; Assume character codes 0240 - 0377 stand for characters in some
> Indeed, it's not valid any more.
> It should probably try something like
>
> (aref (decode-coding-string (unibyte-string char) locale-coding-system) 0)
>
> instead, tho I'd argue that we should drop this feature and insert the
> corresponding Unicode char instead (which would give the latin-1
> equivalent as well).
>
While I agree that having it just be unicode simplifies matters,
couldn't doing the translation again pretty easily be made a
customisable "read-quoted-char-use-locale-coding-system" boolean ?
... but should that be
read-quoted-char-use-buffer-file-coding-system ?
- i.e. if you open an iso8859-15 file, and "C-q a4" (assuming hex radix)
, you get a euro sign inserted?
- it just strikes me people with non unicode locales (or files)
are some of the most likely to want to enter characters by number from
the relevant non-unicode charset...
- Re: inputting characters by hexadigit, (continued)
- Re: inputting characters by hexadigit, Miles Bader, 2008/07/17
- Re: inputting characters by hexadigit, David De La Harpe Golden, 2008/07/18
- Re: inputting characters by hexadigit, Miles Bader, 2008/07/18
- Re: inputting characters by hexadigit, Stephen J. Turnbull, 2008/07/18
- Re: inputting characters by hexadigit, David De La Harpe Golden, 2008/07/18
- Re: inputting characters by hexadigit, James Cloos, 2008/07/18
- Re: inputting characters by hexadigit, Stephen J. Turnbull, 2008/07/18
- Re: inputting characters by hexadigit, James Cloos, 2008/07/18
- Re: inputting characters by hexadigit, Juri Linkov, 2008/07/18
- Re: inputting characters by hexadigit, Stefan Monnier, 2008/07/20
- Re: inputting characters by hexadigit,
David De La Harpe Golden <=
- Re: inputting characters by hexadigit, Juri Linkov, 2008/07/22
- Re: inputting characters by hexadigit, Lennart Borgman (gmail), 2008/07/22
- Re: inputting characters by hexadigit, David De La Harpe Golden, 2008/07/22
- Re: inputting characters by hexadigit, Juri Linkov, 2008/07/29
- Re: inputting characters by hexadigit, Stefan Monnier, 2008/07/29
- Re: inputting characters by hexadigit, Stephen J. Turnbull, 2008/07/19
- Re: inputting characters by hexadigit, Miles Bader, 2008/07/18
- Re: inputting characters by hexadigit, Juri Linkov, 2008/07/18
- Re: inputting characters by hexadigit, Juri Linkov, 2008/07/18
- Re: inputting characters by hexadigit, Juri Linkov, 2008/07/20