You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I specify the internal_encoding option to GzipReader.open or GzipReader.new, this seems to override whatever was set by the external_encoding option.
Example:
When not specifying internal_encoding, we get the expected external_encoding:
(Ruby version 3.3.1)
Hi!
When I specify the
internal_encoding
option toGzipReader.open
orGzipReader.new
, this seems to override whatever was set by theexternal_encoding
option.Example:
When not specifying
internal_encoding
, we get the expectedexternal_encoding
:output:
But with
internal_encoding
specified,external_encoding
is changed:output:
This seems broken, right? I'm not getting the problem with
File.open
.Additionally, I noticed
GzipReader
does not respond tointernal_encoding
:This throws
NoMethodError
with message:Regards,
Olof
The text was updated successfully, but these errors were encountered: