Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: JRuby 1.1.6
-
Fix Version/s: JRuby 1.4
-
Component/s: Core Classes/Modules, Ruby 1.9.2
-
Labels:None
-
Number of attachments :
Description
Encoding.default_internal and default_external need to be implemented for 1.9 support. Here's the rdocs for them:
{nofomat}--------------------------------------------- Encoding::default_internal
Encoding.default_internal => enc
From Ruby 1.9.1
------------------------------------------------------------------------
Returns default internal encoding.
It is initialized by the source internal_encoding or -E option.
--------------------------------------------- Encoding::default_external
Encoding.default_external => enc
From Ruby 1.9.1
------------------------------------------------------------------------
Returns default external encoding.
It is initialized by the locale or -E option.
The patch attached in the ticket http://jira.codehaus.org/browse/JRUBY-3605 also solves this bug