help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: encoding


From: Pascal J. Bourguignon
Subject: Re: encoding
Date: Tue, 15 Mar 2011 01:51:02 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2 (gnu/linux)

rinefez <address@hidden> writes:

> On Mar 13, 3:07 am, "Pascal J. Bourguignon" <address@hidden>
> wrote:
>> rinefez <address@hidden> 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 via email to

[Prev in Thread] Current Thread [Next in Thread]