code: public String getLocaleEncoding(Locale locale)
      {
          String encoding = (String)_localeEncodingMap.get(locale.toString());
          if (encoding==null)
              encoding = (String)_localeEncodingMap.get(locale.getLanguage());
          return encoding;
      }
docs: Get the character encoding for a locale. The full locale name is first
  looked up in the map of encodings. If no encoding is found, then the
  locale language is looked up.
  
  @param locale a <code>Locale</code> value
  @return a <code>String</code> representing the character encoding for
  the locale or null if none found.