Open vitalysennikov opened 1 year ago
This code don't work for me:
$fh = IO::Uncompress::Gunzip->new($fname); $fh->binmode(":encoding(utf8)");
The same code for IO::File works fine. What I have to do, that this work for IO::Uncompress::Gunzip? Now I am forced to utf8::decode() the read data. Can you help me please?
IO::File
IO::Uncompress::Gunzip
utf8::decode()
Hey @vitalysennikov
at present there isn't support for encoding/decoding in the IO::Uncompress::* modules. You have to do it in two steps.
IO::Uncompress::*
This code don't work for me:
The same code for
IO::File
works fine. What I have to do, that this work forIO::Uncompress::Gunzip
? Now I am forced toutf8::decode()
the read data. Can you help me please?