JRuby

Encoding.default_internal and Encoding.default_external missing

Details

  • Number of attachments :
    0

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.


Activity

Hide
David Calavera added a comment -

The patch attached in the ticket http://jira.codehaus.org/browse/JRUBY-3605 also solves this bug

Show
David Calavera added a comment - The patch attached in the ticket http://jira.codehaus.org/browse/JRUBY-3605 also solves this bug
Hide
Charles Oliver Nutter added a comment -

Pushed the fix in 79ae9a9. Thanks!

Show
Charles Oliver Nutter added a comment - Pushed the fix in 79ae9a9. Thanks!

People

Vote (0)
Watch (0)

Dates

  • Created:
    Updated:
    Resolved: