[slime-devel] encoding problem ?

Pascal Bourguignon pjb at informatimago.com
Tue Apr 25 10:24:00 UTC 2006


Jean-Christophe Helary writes:
> Harald,
> 
> > | And I still have the following message when I want to load my file:
> > |
> > | > invalid byte #xE7 in CHARSET:ASCII conversion
> > | >    [Condition of type SIMPLE-ERROR]
> [...]
> (load "~/Documents/_travail/Programmes/lisp/salut_2.lisp" :external- 
> format :utf-8)
> 
> I got yet another error message:
> > OPEN: illegal :EXTERNAL-FORMAT argument :UTF-8
> >    [Condition of type SIMPLE-TYPE-ERROR]

On clisp, the legal arguments for :EXTERNAL-FORMAT are in the package CHARSET.

(load "~/Documents/_travail/Programmes/lisp/salut_2.lisp" 
        :external-format charset:utf-8)

(do-external-symbols (cs "CHARSET") (print cs))

-- 
__Pascal Bourguignon__                     http://www.informatimago.com/
Small brave carnivores
Kill pine cones and mosquitoes
Fear vacuum cleaner



More information about the slime-devel mailing list