Repository navigation
Charset Normalizer
Changes :
- Feature : Added
has_submatch,percent_chaosandpercent_coherenceproperties on single match object. - Improvement :
best()method of CharsetNormalizerMatches has been rewritten for better readability. - Feature : Added
explainboolean positional parameter to print out what actually happen when searching for a match. - Improvement : Detection has been globally improved.
- Feature : You can exclude some encoding when searching for a match with parameter
cp_exclusion. List of str. forfrom_bytesfrom_pathandfrom_fp. - Feature : You can limit the search to some encoding when looking for a match with parameter
cp_isolation. List of str. forfrom_bytesfrom_pathandfrom_fp. - Feature :
import charset_normalizeris enough to provide additional help when you encounter UnicodeDecodeError exception.
