[Git][cmucl/cmucl][issue-139-set-filename-encoding-to-utf8] Add docstring for *filename-encoding*

Raymond Toy (@rtoy) gitlab at common-lisp.net
Wed Dec 21 20:59:38 UTC 2022



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


Commits:
5aa5c037 by Raymond Toy at 2022-12-21T12:58:49-08:00
Add docstring for *filename-encoding*

- - - - -


1 changed file:

- src/code/unix.lisp


Changes:

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



View it on GitLab: https://gitlab.common-lisp.net/cmucl/cmucl/-/commit/5aa5c037c5086f89ca5025803f2a583d4371bdf3

-- 
View it on GitLab: https://gitlab.common-lisp.net/cmucl/cmucl/-/commit/5aa5c037c5086f89ca5025803f2a583d4371bdf3
You're receiving this email because of your account on gitlab.common-lisp.net.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.common-lisp.net/pipermail/cmucl-cvs/attachments/20221221/2ce509a9/attachment.html>


More information about the cmucl-cvs mailing list