I was trying out
(ext:convert-string-from-bytes #(0) charset:utf-7)
I guess it's an illegal sequence. However, the error
being reported is misleading.
CLISP-2.28 (including EILSEQ||EINVAL) bug-fix [ 543072
] ) reports:
*** - Win32 error 6 (ERROR_INVALID_HANDLE): The handle
*** - Win32 error 18 (ERROR_NO_MORE_FILES): There are
no more files.
Line 3645 is the one terminating the with_string_0 of
Maybe there's an auxiliary problem that errwin32.c
doesn't seem to mention EINVAL??
MS-VC/include/errno.h has it as error 42.
(ext:convert-string-from-bytes #(0 0) charset:utf-7)
or #(0 0 0) doesn't work either.
I was looking for a way to portably zero-terminate a
string (the number of 0 bytes depends on the encoding).