+ Nicolas Lamirault lam@tuxfamily.org:
| i must read a file encoded in utf-8 | if i read this file from sbcl started in an xterm, | i haven't got any error. | i try to make this operation in my SLIME environment, but i have an | error.
You should always be able to read your utf-8 encoded file, no matter what coding system you are using with slime. Just use :external-format :utf-8 when opening the file. But if you wish to be able to print bits of that file using utf-8 to the interaction stream, you will need utf-8 support from slime, of course.
| so i put this in my emacs's configuration : | | (setq slime-net-coding-system 'utf-8-unix) | | but after this i can't start slime
FWIW, I don't use this variable in my setup. Instead I have this:
(setf slime-lisp-implementations '((sbcl ("sbcl") :coding-system utf-8-unix) (cmucl ("cmucl") :coding-system iso-latin-1-unix)))
and this works fine for me. Make sure you have a recent slime (from 2006).
- Harald