mirror of
https://gitlab.com/embeddable-common-lisp/ecl.git
synced 2026-01-17 14:51:20 -08:00
:external-format :pass-through did not implement actual pass-through in Unicode builds.
This commit is contained in:
parent
d21d141cd9
commit
0a7e582beb
1 changed files with 4 additions and 0 deletions
|
|
@ -2920,7 +2920,11 @@ parse_external_format(cl_object stream, cl_object format, int flags)
|
|||
return flags & ~ECL_STREAM_LITTLE_ENDIAN;
|
||||
}
|
||||
if (format == @':pass-through' || format == Ct) {
|
||||
#ifdef ECL_UNICODE
|
||||
return (flags & ~ECL_STREAM_FORMAT) | ECL_STREAM_LATIN_1;
|
||||
#else
|
||||
return (flags & ~ECL_STREAM_FORMAT) | ECL_STREAM_DEFAULT_FORMAT;
|
||||
#endif
|
||||
}
|
||||
#ifdef ECL_UNICODE
|
||||
if (format == @':UTF-8') {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue