chardet
latest
Frequently asked questions
Supported encodings
Usage
How it works
chardet
chardet
Docs
»
chardet
Edit on GitHub
chardet
¶
Character encoding auto-detection in Python. As smart as your browser. Open source.
Documentation
¶
Frequently asked questions
What is character encoding?
What is character encoding auto-detection?
Isn’t that impossible?
Who wrote this detection algorithm?
Yippie! Screw the standards, I’ll just auto-detect everything!
Why bother with auto-detection if it’s slow, inaccurate, and non-standard?
Supported encodings
Usage
Basic usage
Example: Using the
detect
function
Advanced usage
Example: Detecting encoding incrementally
Example: Detecting encodings of multiple files
How it works
UTF-n
with a BOM
Escaped encodings
Multi-byte encodings
Single-byte encodings
windows-1252
chardet
chardet package
Indices and tables
¶
Index
Module Index
Search Page