From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: [angeli@iwi.uni-sb.de: Coding problem with Euro sign] Date: Fri, 16 Dec 2005 10:57:56 +0200 Message-ID: References: Reply-To: Eli Zaretskii NNTP-Posting-Host: main.gmane.org X-Trace: sea.gmane.org 1134735922 28556 80.91.229.2 (16 Dec 2005 12:25:22 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 16 Dec 2005 12:25:22 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Dec 16 13:25:20 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1EnEcB-0007la-LZ for ged-emacs-devel@m.gmane.org; Fri, 16 Dec 2005 13:23:11 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1EnDq8-0003XN-M0 for ged-emacs-devel@m.gmane.org; Fri, 16 Dec 2005 06:33:35 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1EnBQR-0002KQ-1V for emacs-devel@gnu.org; Fri, 16 Dec 2005 03:58:51 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1EnBQO-0002K5-AZ for emacs-devel@gnu.org; Fri, 16 Dec 2005 03:58:49 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1EnBQN-0002Jz-8x for emacs-devel@gnu.org; Fri, 16 Dec 2005 03:58:47 -0500 Original-Received: from [192.114.186.17] (helo=gandalf.inter.net.il) by monty-python.gnu.org with esmtp (Exim 4.34) id 1EnBSl-0003Lu-Cy for emacs-devel@gnu.org; Fri, 16 Dec 2005 04:01:15 -0500 Original-Received: from nitzan.inter.net.il (nitzan.inter.net.il [192.114.186.20]) by gandalf.inter.net.il (MOS 3.7.1-GA) with ESMTP id HGX18534; Fri, 16 Dec 2005 10:57:57 +0200 (IST) Original-Received: from HOME-C4E4A596F7 (IGLD-80-230-152-179.inter.net.il [80.230.152.179]) by nitzan.inter.net.il (MOS 3.7.2-GA) with ESMTP id CFT72231 (AUTH halo1); Fri, 16 Dec 2005 10:57:54 +0200 (IST) Original-To: Kevin Rodgers In-reply-to: (message from Kevin Rodgers on Thu, 15 Dec 2005 15:02:48 -0700) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:47853 Archived-At: > From: Kevin Rodgers > Date: Thu, 15 Dec 2005 15:02:48 -0700 > > OK, now I've actually tried that here in Emacs 21.4 running on > Unix/Solaris under X. First it complained that cp1252 is an invalid > coding system, so I found the "MS-DOS and MULE" Info node referenced > from the "Coding Systems" node and tried `M-x codepage-setup'. It > wouldn't take 1252, but a quick search in that node revealed that the > right number is 850. Emacs 21.x doesn't support cp1252, and cp850 is not an equivalent of cp1252. > So I tweaked the auto-coding-regexp-alist entry to use cp850 and > revisited the file. Now instead of displaying the u umlaut and A > circumflex characters as such in my default font's character set > (iso8859-1) and the euro as "\200", Emacs displays the u umlaut as > superscript 3, A circumflex as "\302", and the euro as C cedilla. cp850 doesn't support the Euro sign, that's why it displays it as something else. And the codepoints of other Latin characters are different in cp850 than in iso-8859-1, so you see different glyphs. > I assume those display problems are because I haven't configured an > Emacs fontset for the cp850 coding system. No, it's because the codepoints are different; see above.