Raymond Toy pushed to branch issue-139-set-filename-encoding-to-utf8 at cmucl / cmucl
Commits:
-
d12d1153
by Raymond Toy at 2022-12-11T09:22:51-08:00
1 changed file:
Changes:
... | ... | @@ -267,6 +267,9 @@ |
267 | 267 | #\greek_small_letter_beta)))
|
268 | 268 | (expected (stream:string-encode in-string :utf16-be))
|
269 | 269 | (path #p"issue25c.txt"))
|
270 | + ;; Get the external format before opening the file. See issue
|
|
271 | + ;; #161 (https://gitlab.common-lisp.net/cmucl/cmucl/-/issues/161).
|
|
272 | + (stream::find-external-format :utf16-be)
|
|
270 | 273 | (with-open-file (s path :direction :output :if-exists :supersede :external-format :utf16-be)
|
271 | 274 | (write-string in-string s)
|
272 | 275 | (force-output s)
|