From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Pascal Bourguignon Newsgroups: gmane.emacs.help Subject: Re: displaying the Eurosign at all Date: 07 Mar 2005 17:34:01 +0100 Organization: [posted via Easynet Spain] Message-ID: <87y8czh0ue.fsf@thalassa.informatimago.com> References: <87is43cy2s.fsf-monnier+gnu.emacs.help@gnu.org> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-15 Content-Transfer-Encoding: 8bit X-Trace: sea.gmane.org 1110213086 9286 80.91.229.2 (7 Mar 2005 16:31:26 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 7 Mar 2005 16:31:26 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon Mar 07 17:31:26 2005 Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1D8L7m-0006KI-Om for geh-help-gnu-emacs@m.gmane.org; Mon, 07 Mar 2005 17:30:31 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1D8LRa-00051T-7x for geh-help-gnu-emacs@m.gmane.org; Mon, 07 Mar 2005 11:50:58 -0500 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!news.tele.dk!news.tele.dk!small.news.tele.dk!newsfeed.icl.net!newsfeed.fjserv.net!easynet-quince!easynet.net!easynet-post2!not-for-mail Original-Newsgroups: gnu.emacs.help User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3 Original-Lines: 35 Original-NNTP-Posting-Host: 62.93.174.79 Original-X-Trace: DXC=Sl44@JgAd^j^;JU9nm2B5kiZdW>mQFP3fbBd4DjF1d]a Original-Xref: shelby.stanford.edu gnu.emacs.help:129060 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 X-MailScanner-To: geh-help-gnu-emacs@m.gmane.org Xref: news.gmane.org gmane.emacs.help:24607 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:24607 Josef Dalcolmo writes: > Dear Stefan, > > > BTW 128 (aka \200) is not the latin-9 encoding of the euro sign (it's 164, > > aka \244), AFAIK, so the problem is most likely that you haven't correctly > > described the coding-system used by your keyboard, which doesn't seem to be > > latin-9. > > my keyboard coding-system was set to nil (I use a US keyboard) but > that is not the problem I've encountered. The real culprit is once > again Micro$oft. They are using a modified version of the Latin-1 > characterset (WinLatin-1, or whatever one can call it, and that is > what I've been using without knowing for a while now. Using winlatin-1 > the Euro sign is on \200. That works fine on e-mail between Windows > systems. I am not sure how to solve the problem in general. I would > expect if I insert \244 in my email, using ordinary Windoze > applications will see some wierd character, but not a EURO sign. Perhaps emacs on MS-Windows can identify the special keyboard encoding used there. Otherwise, (global-set-key (kbd "\200") (lambda (n) (dotimes (i n) (insert "¤")))) should do. -- __Pascal Bourguignon__ http://www.informatimago.com/ -----BEGIN GEEK CODE BLOCK----- Version: 3.12 GCS d? s++:++ a+ C+++ UL++++ P--- L+++ E+++ W++ N+++ o-- K- w--- O- M++ V PS PE++ Y++ PGP t+ 5+ X++ R !tv b+++ DI++++ D++ G e+++ h+ r-- z? ------END GEEK CODE BLOCK------