Raymond Toy pushed to branch issue-139-set-filename-encoding-to-utf8 at cmucl / cmucl

Commits:

1 changed file:

Changes:

  • src/code/unix.lisp
    ... ... @@ -25,7 +25,12 @@
    25 25
     ;; it must be set to :iso8859-1 (or left as NIL), making files with
    
    26 26
     ;; non-Latin-1 characters "mojibake", but otherwise they'll be inaccessible.
    
    27 27
     ;; Must be set to NIL initially to enable building Lisp!
    
    28
    -(defvar *filename-encoding* nil)
    
    28
    +(defvar *filename-encoding* nil
    
    29
    +  "The encoding to use for converting a namestring to a string that can
    
    30
    +  be used by the operations system.  It must be a valid
    
    31
    +  external-format name or NIL.  NIL means the string is passed as is
    
    32
    +  to the operating system.  The operating system will get the low 8
    
    33
    +  bits of each UTF-16 code unit of the string.")
    
    29 34
     
    
    30 35
     (eval-when (:compile-toplevel :load-toplevel :execute)
    
    31 36
       (defmacro %name->file (string)