all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "Pascal J. Bourguignon" <pjb@informatimago.com>
To: help-gnu-emacs@gnu.org
Subject: Re: encoding
Date: Tue, 15 Mar 2011 01:51:02 +0100	[thread overview]
Message-ID: <87fwqpnr49.fsf@kuiper.lan.informatimago.com> (raw)
In-Reply-To: 829be7d2-ca2e-4a4b-bcca-e0a63ed35a24@r17g2000vbc.googlegroups.com

rinefez <mmj529@gmail.com> writes:

> On Mar 13, 3:07 am, "Pascal J. Bourguignon" <p...@informatimago.com>
> wrote:
>> rinefez <mmj...@gmail.com> 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 {}.


  reply	other threads:[~2011-03-15  0:51 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-03-13  1:01 encoding rinefez
2011-03-13  1:07 ` encoding Pascal J. Bourguignon
2011-03-13 18:59   ` encoding rinefez
2011-03-15  0:35   ` encoding rinefez
2011-03-15  0:51     ` Pascal J. Bourguignon [this message]
2011-03-15  1:21   ` encoding rinefez
  -- strict thread matches above, loose matches on Subject: below --
2013-06-10 22:47 Encoding sirciny
2013-06-11  9:22 ` Encoding Peter Dyballa
2013-06-12 13:11   ` Encoding sirciny
2009-01-08  0:35 encoding Alan
2009-01-08  4:27 ` encoding Eli Zaretskii
2004-06-21  7:41 Encoding Rob Kramer
2004-06-21 18:43 ` Encoding Kevin Rodgers
2004-06-30 16:51 ` Encoding Kai Grossjohann

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87fwqpnr49.fsf@kuiper.lan.informatimago.com \
    --to=pjb@informatimago.com \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.