Do a better job of determining "locale" encoding when default charset's name is 
not in our encoding tables
----------------------------------------------------------------------------------------------------------

                 Key: JRUBY-5555
                 URL: http://jira.codehaus.org/browse/JRUBY-5555
             Project: JRuby
          Issue Type: Bug
          Components: Ruby 1.9.2
    Affects Versions: JRuby 1.6RC2
            Reporter: Charles Oliver Nutter
            Assignee: Thomas E Enebo


See JRUBY-5525. There, we originally had a problem that if the default Java 
Charset's name was not found in our encoding tables (EncodingDB), we would 
cause a NPE. My fix was to failover to the 1.9-mode "locale" encoding, which 
ultimately just uses ASCII-8BIT when the default charset's name doesn't look up.

We should endeavor to do better than failing over to ASCII-8BIT when we can't 
match Java's default Charset to an Encoding.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


Reply via email to