Method | Description | |
---|---|---|
RecogCharset ( byte bytes, NChardetLanguage language = NChardetLanguage.ALL, int maxLength = 1024 ) : string |
Recog the charset from byte array.
|
|
RecogEncoding ( byte bytes, NChardetLanguage language = NChardetLanguage.ALL ) : |
Recog the Encoding from byte array.
|
public static RecogCharset ( byte bytes, NChardetLanguage language = NChardetLanguage.ALL, int maxLength = 1024 ) : string | ||
bytes | byte | the byte array. |
language | NChardetLanguage | the language. |
maxLength | int | max length per time. the default is 1024, -1 to without limit. |
return | string |
public static RecogEncoding ( byte bytes, NChardetLanguage language = NChardetLanguage.ALL ) : |
||
bytes | byte | the byte array. |
language | NChardetLanguage | the language. |
return |