From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: ken Newsgroups: gmane.emacs.help Subject: Re: displaying the EUR-Sign in normal buffers Date: Mon, 7 Oct 2002 17:09:06 -0400 (EDT) Sender: help-gnu-emacs-admin@gnu.org Message-ID: References: <5lr8f6i3cp.fsf@rum.cs.yale.edu> <5l1y72htsn.fsf@rum.cs.yale.edu> Reply-To: NNTP-Posting-Host: localhost.gmane.org Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: main.gmane.org 1034025042 5825 127.0.0.1 (7 Oct 2002 21:10:42 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 7 Oct 2002 21:10:42 +0000 (UTC) Cc: Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 17yf9E-0001VX-00 for ; Mon, 07 Oct 2002 23:10:40 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10) id 17yf8l-0005z3-00; Mon, 07 Oct 2002 17:10:11 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10) id 17yf7z-0005jL-00 for help-gnu-emacs@gnu.org; Mon, 07 Oct 2002 17:09:23 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10) id 17yf7v-0005hF-00 for help-gnu-emacs@gnu.org; Mon, 07 Oct 2002 17:09:22 -0400 Original-Received: from adsl-65-43-209-1.dsl.bcvloh.ameritech.net ([65.43.209.1] helo=heidegger.mousecar.net) by monty-python.gnu.org with esmtp (Exim 4.10) id 17yf7u-0005fA-00 for help-gnu-emacs@gnu.org; Mon, 07 Oct 2002 17:09:18 -0400 Original-Received: from localhost (ken@localhost) by heidegger.mousecar.net (8.11.6/8.11.6) with ESMTP id g97L9C211101; Mon, 7 Oct 2002 17:09:12 -0400 X-Authentication-Warning: heidegger.mousecar.net: ken owned process doing -bs Original-Newsgroups: gnu.emacs.help X-X-Sender: Original-To: "Stefan Monnier " In-Reply-To: <5l1y72htsn.fsf@rum.cs.yale.edu> X-MIME-Autoconverted: from 8bit to quoted-printable by heidegger.mousecar.net id g97L9C211101 Errors-To: help-gnu-emacs-admin@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.0.11 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: Xref: main.gmane.org gmane.emacs.help:2341 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:2341 The octal for (the extended ASCII of) the Euro sign is 244. So to get=20 it in emacs, do C-q 244 RETURN (or SPACE or whatever). This works for=20 me. I'm using 8859-1 encoding. Yeah, you might have to do a search-and-replace on cut-n-pasted=20 documents, but it's better than using a crayon on your monitor. :) hth, ken --=20 AMD crashes? See http://cleveland.lug.net/~ken/amd-problem/. Spake Stefan Monnier at 16:34 (UTC-0400) on 7 Oct 2002: =3D > If for example i insert an EUR sign (=E2=82=AC) in Microsoft Word, = copy it to the =3D > clipboard and try to insert it into a normal Emacs-buffer (e.g. *sc= ratch*) =3D > then i get only \200. =3D=20 =3D I actually accidentally just bumped into the answer: =3D Your clipboard/word thing is encoded in codepage 1252 (an MS-only =3D extension of latin-1) where the euro is available as char 128 =3D (i.e. 200 in octal). =3D So you should try and set your interprogram coding system to cp1252. =3D I'm not sure how to do that. And I think that Emacs-21.2's support f= or =3D cp1252 is incomplete. =3D=20 =3D=20 =3D Stefan =3D _______________________________________________ =3D Help-gnu-emacs mailing list =3D Help-gnu-emacs@gnu.org =3D http://mail.gnu.org/mailman/listinfo/help-gnu-emacs =3D=20