[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Entering UTF-8 Characters
From: |
Peter Dyballa |
Subject: |
Re: Entering UTF-8 Characters |
Date: |
Tue, 20 Dec 2005 11:11:46 +0100 |
Am 20.12.2005 um 01:11 schrieb Cameron Desautels:
My ultimate goal is to type "smart quotes" into UTF-8 files.
Three choices:
• octal a in \20030 ... \20037 = ‘ ’ ‚ ‛ “ ” „ ‟ (end with non-digit)
• ucs input method C-x RET C-\ RET u201c
• bind a key to insert these by copying from my eMail or utf8.txt in
kermit distribution
I think the first two methods won't work in GNU Emacs 21.4. This Emacs
too gives on C-u C-x = not the correct answers. Whether the last method
works I can't tell, I prefer GNU Emacs 23 because is has Unicode
support that you can actually use (at almost 100% of the time, printing
only works via htmlizing the buffer and then printing out of an
Internet browser). Here is GNU Emacs 23's description of a "smart"
quote:
character: „ (020036, 8222, 0x201e)
preferred charset: [iso-8859-13] (ISO/IEC 8859/13)
code point: [0xA5]
syntax: . which means: punctuation
buffer code: 0xE2 0x80 0x9E
file code: 0xE2 0x80 0x9E (encoded by coding system utf-8)
display: by this font (glyph code)
-B&H-LucidaTypewriter-Medium-R-Normal-Sans-10-100-75-75-M-60-ISO10646-1
(0x201E)
Character code properties are not shown: [customize what to show]
There are text properties here:
fontified t
--
Greetings
Pete
"A smart quote proves nothing."
--Pete (19??-20??)