[asdf-devel] source file encoding

Anton Vodonosov avodonosov at yandex.ru
Sat Jan 29 12:24:02 UTC 2011


Hello.

How to specify source files encoding in ASD2? I.e. what value to pass to the :external-format argument of the compile-file?
In the old ASDF I did it by 

(let ((asdf:*compile-file-external-format* #+:clisp charset:cp1251 
                       #+:sbcl :cp1251))
  (asdf:operate 'asdf:load-op :mysystem))

But today the variable asdf:*compile-file-external-format* does not exist. Also, it of course would be better
to specify the encoding in the .asd file (the system author knows the files encoding, and should care 
about this, but not the system user).

Could you advise me how to do it?

Best regards,
- Anton




More information about the asdf-devel mailing list