Helmut Eller heller@common-lisp.net writes:
- Nicolas Neuss [2006-10-31 13:53+0100] writes:
How can I make C-c C-k (slime-compile-and-load-file) use an external format of :latin-1?
You can add a file variable: -*- slime-coding: iso-latin-1-unix -*- and Slime should send it to the Lisp process.
Unfortunately, this does not work. Trying C-c C-k on a file "test.lisp" with the content
;;; -*- slime-coding: iso-latin-1-unix -*- (in-package :cl-user) (defun test () "Prüfung" nil)
I obtain the error
decoding error on stream #<SB-SYS:FD-STREAM for "file /home/neuss/CL-HOME/mathematikum/test.lisp" {1002CA2E81}> (:EXTERNAL-FORMAT :UTF-8): the octet sequence (252 102 117 110) cannot be decoded. [Condition of type SB-INT:STREAM-DECODING-ERROR]
Does C-c C-k on such a file work for you?
Thanks, Nicolas