From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: rinefez Newsgroups: gmane.emacs.help Subject: Re: encoding Date: Mon, 14 Mar 2011 17:35:46 -0700 (PDT) Organization: http://groups.google.com Message-ID: <829be7d2-ca2e-4a4b-bcca-e0a63ed35a24@r17g2000vbc.googlegroups.com> References: <5b0fc503-500f-4f85-b623-58ea3867774f@q12g2000prb.googlegroups.com> <87oc5fq14j.fsf@kuiper.lan.informatimago.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1300149673 29240 80.91.229.12 (15 Mar 2011 00:41:13 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 15 Mar 2011 00:41:13 +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 01:41:09 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 1PzIJQ-0006BY-SS for geh-help-gnu-emacs@m.gmane.org; Tue, 15 Mar 2011 01:41:09 +0100 Original-Received: from localhost ([127.0.0.1]:38857 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PzIJC-0006xY-79 for geh-help-gnu-emacs@m.gmane.org; Mon, 14 Mar 2011 20:40:22 -0400 Original-Path: usenet.stanford.edu!postnews.google.com!r17g2000vbc.googlegroups.com!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 49 Original-NNTP-Posting-Host: 151.41.20.214 Original-X-Trace: posting.google.com 1300149346 24359 127.0.0.1 (15 Mar 2011 00:35:46 GMT) Original-X-Complaints-To: groups-abuse@google.com Original-NNTP-Posting-Date: Tue, 15 Mar 2011 00:35:46 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: r17g2000vbc.googlegroups.com; posting-host=151.41.20.214; posting-account=zC440woAAACuOsBCmK6z_hLq9kkYo1rY User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (Windows; U; Windows NT 6.1; it; rv:1.9.2.15) Gecko/20110303 Firefox/3.6.15,gzip(gfe) Original-Xref: usenet.stanford.edu gnu.emacs.help:185972 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:80115 Archived-At: On Mar 13, 3:07=A0am, "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... > > -- > __Pascal Bourguignon__ =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0http://www.= informatimago.com/ > A bad day in () is better than a good day in {}. 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") Any help is appreciated. Thanks.