[armedbear-devel] How to load a lisp file containing non ascii characters encoded in utf-8?

Pascal J. Bourguignon pjb at informatimago.com
Sat Nov 20 04:43:40 UTC 2010



What should be done in abcl to be able to load a lisp file containing
non ascii characters encoded in utf-8?

CL-USER(3): (load "test.lisp")
Error loading /home/pjb/test.lisp at line 2 (offset 46)
#<THREAD "interpreter" {74CB02}>: Debugger invoked on condition of type STREAM-ERROR
  Input value 0xffc3 is malformed while recoding with charset US-ASCII
Restarts:
  0: TOP-LEVEL Return to top level.
[1] CL-USER(4): (lisp-implementation-version)
"0.20.0"


test.lisp is:
------------------------------------------------------------------------
;; -*- mode:lisp;coding:utf-8 -*-
(defvar *a* "é")
------------------------------------------------------------------------


-- 
__Pascal Bourguignon__                     http://www.informatimago.com/
A bad day in () is better than a good day in {}.





More information about the armedbear-devel mailing list