1

i have a problem while loading my source file inside terminal using clisp. if i execute the following command to load the file:

(load #p "filename.lisp") 

it gives me the following error:

SYSTEM::LINE-COMMENT-READER: Invalid byte sequence #xE0 #xA0 #x20 in
CHARSET:UTF-8 conversion

can someone please tell me what i need to do in order to load the file? thank you.

0

1 Answer 1

4

Your file is encoded with ISO-8859-1:

$ file filename.lisp 
filename.lisp: ISO-8859 text, with no line terminators

Based on CLISP's documentation about encodings:

(load #P"filename.lisp" :external-format 'charset:iso-8859-1)
Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.