From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Pascal J. Bourguignon" Newsgroups: gmane.emacs.help Subject: Re: encoding Date: Tue, 15 Mar 2011 01:51:02 +0100 Organization: Informatimago Message-ID: <87fwqpnr49.fsf@kuiper.lan.informatimago.com> References: <5b0fc503-500f-4f85-b623-58ea3867774f@q12g2000prb.googlegroups.com> <87oc5fq14j.fsf@kuiper.lan.informatimago.com> <829be7d2-ca2e-4a4b-bcca-e0a63ed35a24@r17g2000vbc.googlegroups.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Trace: dough.gmane.org 1300153258 12275 80.91.229.12 (15 Mar 2011 01:40:58 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 15 Mar 2011 01:40:58 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Mar 15 02:40:54 2011 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1PzJFk-0006C5-9F for geh-help-gnu-emacs@m.gmane.org; Tue, 15 Mar 2011 02:40:52 +0100 Original-Received: from localhost ([127.0.0.1]:38290 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PzJFi-00072B-V2 for geh-help-gnu-emacs@m.gmane.org; Mon, 14 Mar 2011 21:40:51 -0400 Original-Path: usenet.stanford.edu!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 57 Original-X-Trace: individual.net TXR/pF50v1RKXMXjl/vN5wEDP+XzUcHLjaS8q+MHC4gZzbc4Mo Cancel-Lock: sha1:NDkzOGNiOTBkZDY5MWUyMjUwMDllZTYxYmQyM2QwYzlmOTI2ZWNiOQ== sha1:ZI0v0Oyq3GwwvyVQDDRr3x4JDh4= Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwAQMAAABtzGvEAAAABlBMVEUAAAD///+l2Z/dAAAA oElEQVR4nK3OsRHCMAwF0O8YQufUNIQRGIAja9CxSA55AxZgFO4coMgYrEDDQZWPIlNAjwq9 033pbOBPtbXuB6PKNBn5gZkhGa86Z4x2wE67O+06WxGD/HCOGR0deY3f9Ijwwt7rNGNf6Oac l/GuZTF1wFGKiYYHKSFAkjIo1b6sCYS1sVmFhhhahKQssRjRT90ITWUk6vvK3RsPGs+M1RuR mV+hO/VvFAAAAABJRU5ErkJggg== X-Accept-Language: fr, es, en X-Disabled: X-No-Archive: no User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2 (gnu/linux) Original-Xref: usenet.stanford.edu gnu.emacs.help:185973 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: news.gmane.org gmane.emacs.help:80118 Archived-At: rinefez writes: > On Mar 13, 3:07 am, "Pascal J. Bourguignon" > wrote: >> rinefez writes: >> > My Emacs 23.2.1 in inferior-lisp entering (from italian keyboard) >> >> > #\ >> >> > returns >> >> > #\LATIN_CAPITAL_LETTER_A_WITH_TILDE >> >> > which is wrong cause i entered latin small a with grave accent. In >> > fact entering >> >> > (char-code #\ ) >> >> > returns 195 (the code point of ) instead of 224 (the code point of >> > ). >> >> > Anybody has a clue to how to solve this? >> >> Set the same encoding system for emacs, slime and the inferior lisp. >> >> http://common-lisp.net/project/slime/doc/html/Emacs_002dside-customiz... > > I tried that, adding the following lines to my emacs, but it didn't > work, I still have the same problem: > > (setq inferior-lisp-program "c:/home/bin/clisp/full/lisp.exe -B c:/ > home/bin/clisp/full -M c:/home/bin/clisp/full/lispinit.mem -E utf-8 - > q"); my Lisp system > ... > (setq slime-net-coding-system 'utf-8-unix) ; sets the coding system of > communications between SLIME and Lisp > (setq locale-coding-system 'utf-8) > (set-terminal-coding-system 'utf-8) > (set-keyboard-coding-system 'utf-8) > (set-selection-coding-system 'utf-8) > (set-default-coding-systems 'utf-8) > (prefer-coding-system 'utf-8) > (set-language-environment "UTF-8") > (swank:create-server :coding-system "utf-8-unix") This is what I have. > Any help is appreciated. Thanks. Either ask to slime developers, or try to debug it, tracing the characters at the various stages. -- __Pascal Bourguignon__ http://www.informatimago.com/ A bad day in () is better than a good day in {}.