private static Language fromLowerCasedEncoding(String encoding) {
        if (encoding.equals("gb2312")) {
            return CHINESE_SIMPLIFIED;
        }
        if (encoding.equals("big5")) {
            return CHINESE_TRADITIONAL;
        }
        if (encoding.equals("euc-jp") ||
            encoding.equals("iso-2022-jp") ||
            encoding.equals("shift-jis")) {
            return JAPANESE;
        }
        if (encoding.equals("euc-kr")) {
            return KOREAN;
        }
        return UNKNOWN;
    }
Returns the language from an encoding, or {@link #UNKNOWN} if it cannot be determined.

@param encoding The name of the encoding to derive the <code>Language</code> from.
@return the language given by the encoding, or {@link #UNKNOWN} if not determined.
linguistics/src/main/java/com/yahoo/language/Language.java