On Windows, portacle (sbcl) 64-bit:
The CP1252 stream decoding error because character with code XXXX cannot be encoded. Appears when using to-file (sbcl) for certain files.
This should reproduce the error on portacle windows 64bit
(ql:quickload '(dexador str))
(str:to-file (dex:get "https://api.apis.guru/v2/list.json"))
Here is a thread that deals with the problem:
The solution in this case is to use :external-format :utf-8 but I'm not sure whether this would be safe for other implementations / operating-systems / architectures?
On Windows, portacle (sbcl) 64-bit:
The CP1252 stream decoding error because character with code XXXX cannot be encoded. Appears when using to-file (sbcl) for certain files.
This should reproduce the error on portacle windows 64bit
Here is a thread that deals with the problem:
The solution in this case is to use
:external-format :utf-8but I'm not sure whether this would be safe for other implementations / operating-systems / architectures?