guessCharset

Return

Charset of guessed encoding; at the moment will only guess one of: SHIFT_JIS_CHARSET, KiteCharsets.UTF_8, KiteCharsets.ISO_8859_1, UTF-16, or the platform default encoding if none of these can possibly be correct

Parameters

bytes

bytes encoding a string, whose encoding should be guessed

hints

decode hints if applicable