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 18:21:27 -0700 (PDT) Organization: http://groups.google.com Message-ID: 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 1300153258 12274 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 1PzJFl-0006CA-V0 for geh-help-gnu-emacs@m.gmane.org; Tue, 15 Mar 2011 02:40:54 +0100 Original-Received: from localhost ([127.0.0.1]:38300 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PzJFl-00072p-5L for geh-help-gnu-emacs@m.gmane.org; Mon, 14 Mar 2011 21:40:53 -0400 Original-Path: usenet.stanford.edu!postnews.google.com!j35g2000prb.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 1300152091 23448 127.0.0.1 (15 Mar 2011 01:21:31 GMT) Original-X-Complaints-To: groups-abuse@google.com Original-NNTP-Posting-Date: Tue, 15 Mar 2011 01:21:31 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: j35g2000prb.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:185975 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:80117 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.