From: Bulent Murtezaoglu <bm@acm.org>
Subject: Confusing font selection with UTF-8 coding
Date: Sat, 13 Nov 2004 12:52:34 +0200 [thread overview]
Message-ID: <87654aggwd.fsf@p4.internal> (raw)
[-- Attachment #1: Type: text/plain, Size: 869 bytes --]
I am having an odd problem with Emacs 21.3. When I save some Turkish text
with coding iso-8859-9-unix, things are fine but when I use UTF-8 some
characters end up using a font I don't want. Here's an example with
'LATIN SMALL LETTER S WITH CEDILLA' (0xFE in iso-8859-9, 0x015F in Unicode
0xC59F in UTF-8). I get the below with C-u C-x =
With coding: iso-8859-9-unix (where it is displayed correctly):
character: ş (07376, 3838, 0xefe)
charset: latin-iso8859-9
(Right-Hand Part of Latin Alphabet 5 (ISO/IEC 8859-9): ISO-IR-148)
code point: 126
syntax: word
category: l:Latin
buffer code: 0x8D 0xFE
file code: FE (encoded by coding system iso-latin-5-unix)
font:
-bitstream-bitstream vera sans mono-medium-r-normal--15-83-130-130-m-90-iso8859-9
With coding: UTF-8 (where it is displayed smaller an in a different font):
[-- Attachment #2: Type: text/plain, Size: 569 bytes --]
character: ş (04472, 2362, 0x93a)
charset: latin-iso8859-2
(Right-Hand Part of Latin Alphabet 2 (ISO/IEC 8859-2): ISO-IR-101)
code point: 58
syntax: word
category: l:Latin
buffer code: 0x82 0xBA
file code: 0xC5 0x9F (encoded by coding system utf-8-unix)
font: -jmk-Neep Alt-Medium-R-Normal--15-140-75-75-C-80-ISO8859-2
What am I doing wrong? How do I debug this? Where is latin-iso8859-2
coming from? The default font _does_ have the right glyph (?) at the
proper unicode code point (I double checked with pfaedit).
thanks,
BM
[-- Attachment #3: Type: text/plain, Size: 152 bytes --]
_______________________________________________
Help-gnu-emacs mailing list
Help-gnu-emacs@gnu.org
http://lists.gnu.org/mailman/listinfo/help-gnu-emacs
next reply other threads:[~2004-11-13 10:52 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-11-13 10:52 Bulent Murtezaoglu [this message]
2004-11-14 17:12 ` Confusing font selection with UTF-8 coding Bulent Murtezaoglu
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87654aggwd.fsf@p4.internal \
--to=bm@acm.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).