Class BrowserEncoding


  • public class BrowserEncoding
    extends Object
    This method maps IANA name of charset to Java charsets. Even though Java uses IANA names for charsets, it differs in some exceptional cases such as Shift_JIS vs SJIS Most of the modern web containers have bridged the difference and this class may not be necessary for future web containers at all.
    • Method Detail

      • mapHttp2JavaCharset

        public static String mapHttp2JavaCharset​(String str)