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
Next

© Copyright 2015, Mark Pilgrim, Dan Blanchard, Ian Cordasco Revision 9d620b22.

Built with Sphinx using a theme provided by Read the Docs.
Read the Docs v: latest
Versions
latest
stable
4.0.0
3.0.4
3.0.3
3.0.2
3.0.1
3.0.0
Downloads
pdf
html
epub
On Read the Docs
Project Home
Builds

Free document hosting provided by Read the Docs.