Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

io.readlines(nil) needs to set proper encoding

  • Loading branch information...
commit eb20f503ea09d97f1a3b75183f64361b15abb4fc 1 parent 18204c2
@enebo enebo authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  src/org/jruby/RubyIO.java
View
2  src/org/jruby/RubyIO.java
@@ -2882,7 +2882,7 @@ protected RubyString readAll() throws BadDescriptorException, EOFException, IOEx
if (buf == null) {
str = RubyString.newEmptyString(runtime);
} else {
- str = RubyString.newString(runtime, buf);
+ str = makeString(runtime, buf, false);
}
str.setTaint(true);
return str;
Please sign in to comment.
Something went wrong with that request. Please try again.