[Pharo-users] Problem to use GZIPReadStream

Serge Stinckwich serge.stinckwich at gmail.com
Thu Jun 7 10:41:46 EDT 2018

I try to decompress a gzip file like that:

compressed := file readStream.
stream := (GZipReadStream on: compressed) upToEnd asByteArray readStream.

​but I have the following error:
Illegal leading byte for utf-8 encoding
Serge Stinckwich
"Programs must be written for people to read, and only incidentally for
machines to execute."http://www.doesnotunderstand.org/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.pharo.org/pipermail/pharo-users_lists.pharo.org/attachments/20180607/0105d0a1/attachment.html>

More information about the Pharo-users mailing list