forked from jruby/jruby
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix GzipReader encoding on 1.9 mode (produced encoding == null String)
It's a fix for "-J-ea pointed out we were creating a bad ByteList with no encoding in 1.9 mode..." reported by Tom. The actual bug is from 1 line, that I forgot to set default externalEncoding to runtime.getDefaultExternalEncoding() But the problem is from name confusion. Use proper names, readEncoding and writeEncoding for enc, enc2 in Ruby's IO subsystem.
- Loading branch information
Hiroshi Nakamura
committed
Feb 1, 2012
1 parent
f53a857
commit 84e3e3f
Showing
1 changed file
with
24 additions
and
24 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters