org.apache.commons.httpclient
public static class URI.LocaleToCharsetMap extends Object
The distribution of this class is Servlets.com. It was originally written by Jason Hunter [jhunter at acm.org] and used by with permission.
Method Summary | |
---|---|
static String | getCharset(Locale locale)
Get the preferred charset for the given locale.
|
Parameters: locale the locale
Returns: the preferred charset or null if the locale is not recognized.