StringUtils.normalizeCharset

Convert alternate charset names (eg utf8) to normalized name (eg UTF-8).

@param s the charset to normalize @param offset the offset in the charset @param length the length of the charset in the input param @return the normalized charset (or null if not found)

  1. string normalizeCharset(string s)
  2. string normalizeCharset(string s, int offset, int length)
    class StringUtils
    static
    string
    normalizeCharset
    (
    string s
    ,
    int offset
    ,
    int length
    )

Meta