From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Bulent Murtezaoglu Newsgroups: gmane.emacs.help Subject: Confusing font selection with UTF-8 coding Date: Sat, 13 Nov 2004 12:52:34 +0200 Organization: None whatsoever Message-ID: <87654aggwd.fsf@p4.internal> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-Trace: sea.gmane.org 1100343452 20686 80.91.229.6 (13 Nov 2004 10:57:32 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sat, 13 Nov 2004 10:57:32 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sat Nov 13 11:57:21 2004 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1CSvar-0005q1-00 for ; Sat, 13 Nov 2004 11:57:21 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1CSvjS-0005CK-4W for geh-help-gnu-emacs@m.gmane.org; Sat, 13 Nov 2004 06:06:14 -0500 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!headwall.stanford.edu!fu-berlin.de!uni-berlin.de!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 54 Original-X-Trace: news.uni-berlin.de aSGNX8M//T8IU1lmaXt/mgOtJ0I9Y+J8PeluFKErmAXYuoOr4G User-Agent: Gnus/5.1006 (Gnus v5.10.6) XEmacs/21.4 (Security Through Obscurity, linux) Cancel-Lock: sha1:wfQbjdCMo52tc+RPBua88R2xhnE= Original-Xref: shelby.stanford.edu gnu.emacs.help:126551 Original-To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.help:21945 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:21945 --=-=-= Content-Type: text/plain; charset=iso-8859-9 Content-Transfer-Encoding: 8bit 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): --=-=-= Content-Type: text/plain; charset=iso-8859-2 Content-Transfer-Encoding: 8bit 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 --=-=-= Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Help-gnu-emacs mailing list Help-gnu-emacs@gnu.org http://lists.gnu.org/mailman/listinfo/help-gnu-emacs --=-=-=--