JRuby

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