[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Entering UTF-8 Characters
From: |
B. T. Raven |
Subject: |
Re: Entering UTF-8 Characters |
Date: |
Tue, 20 Dec 2005 04:06:56 GMT |
"Cameron Desautels" <cam@apt2324.com> wrote in message
news:mailman.19876.1135037590.20277.help-gnu-emacs@gnu.org...
> Can anyone tell me if there is a way to enter UTF-8 characters
> numerically?
>
> My ultimate goal is to type "smart quotes" into UTF-8 files. I've
> looked through some of the coding systems, but I can't find any way at
> all to enter these characters. I do realize that there are excellent
> packages in existence which make this an easy task, but I'd rather not
> *depend* on a package. Any tips?
> --
> Cameron Desautels <cam@apt2324.com>
C-q (octal number) RET
Unfortunately, this number isn't the Unicode number for the code point (I
think). They are at U+201C and D
putting them into a file and then pressing C-x = yields:
(01234574, 342396, 0x5397c, file ...)
and
(01234575, 342397, 0x5397d, file ...
So I guess you could type C-q and then those numbers starting with zero.
Very cumbersome. After doing one each you could manually search and
replace initial and final straight quotes with M-% (also manually).
Ed.