I’ve tried to read a gzip file, but unfortunately the UTF-8 characters are transformed:
CL-USER> (require :gzip-stream)
NIL
CL-USER> (with-open-file (in "test-utf8.txt") (read-line in))
"abéè"
NIL
CL-USER> (gzip-stream:with-open-gzip-file (in "test-utf8.txt.gz") (read-line in))
"abéè"
NIL
Is gzip-stream broken, and I should use another package, or is there some configuration, that I’m missing?
TIA for any hints, Peter
New contributor
Peter is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.