Details
-
Type:
Bug
-
Status:
Resolved
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: JRuby 1.6.6, JRuby 1.6.7
-
Fix Version/s: JRuby 1.7.0.pre1
-
Component/s: Core Classes/Modules, Ruby 1.9.2
-
Environment:2.6.18-274.12.1.el5.centos
-
Number of attachments :
Description
If I set Encoding.default_internal to 'utf-8', I can't read binary from file even I open file with the 'b' option.
The File.gets always return a string encoding with "Encoding.default_internal".