Raymond Toy pushed to branch issue-162-filename-encoding-no-encoding at cmucl / cmucl
Commits:
-
ce202074
by Raymond Toy at 2023-02-10T08:29:32-08:00
2 changed files:
Changes:
... | ... | @@ -25,7 +25,7 @@ |
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* :no-encoding
|
|
28 | +(defvar *filename-encoding* :null
|
|
29 | 29 | "The encoding to use for converting a namestring to a string that can
|
30 | 30 | be used by the operations system. It must be a valid
|
31 | 31 | external-format name or :NULL. :NULL means the string
|
... | ... | @@ -34,7 +34,7 @@ |
34 | 34 | |
35 | 35 | (eval-when (:compile-toplevel :load-toplevel :execute)
|
36 | 36 | (defmacro %name->file (string)
|
37 | - `(if (eql *filename-encoding* :nul)
|
|
37 | + `(if (eql *filename-encoding* :null)
|
|
38 | 38 | ,string
|
39 | 39 | (string-encode ,string *filename-encoding*)))
|
40 | 40 | (defmacro %file->name (string)
|
... | ... | @@ -19,7 +19,7 @@ msgstr "" |
19 | 19 | msgid ""
|
20 | 20 | "The encoding to use for converting a namestring to a string that can\n"
|
21 | 21 | " be used by the operations system. It must be a valid\n"
|
22 | -" external-format name or :NO-ENCODING. :NO-ENCODING means the string\n"
|
|
22 | +" external-format name or :NULL. :NULL means the string\n"
|
|
23 | 23 | " is passed as is to the operating system. The operating system will\n"
|
24 | 24 | " get the low 8 bits of each UTF-16 code unit of the string."
|
25 | 25 | msgstr ""
|