| Port variant | v14 |
| Summary | Charset Detection, for Everyone (3.14) |
| Package version | 3.5.3 |
| Homepage | https://pypi.org/project/charset-normalizer/ |
| Keywords | python |
| Maintainer | Python Automaton |
| License | Not yet specified |
| Other variants | v15 |
| Ravenports | Buildsheet | History |
| Ravensource | Port Directory | History |
| Last modified | 23 NOV 2026, 05:55:02 UTC |
| Port created | 15 JUL 2021, 22:32:01 UTC |
| single | Charset Detection, for Everyone 👋
What I want is to get readable text, the best I can.
In other language (unofficial port - by the
community) `UnicodeDecodeError Safety` | ❌ | ✅ | | `Universal` | ❌ [^1] | ✅ | | `License` | _0BSD_ [_disputed_] | MIT | | `Native Python` | ✅ | ✅ | | `Detect spoken language` | ✅ | ✅ | | `Whl Size` | ~1500 kB | ~250 kB | | `Supported Encoding` | 99 | [99] | | `Can register custom encoding` | ❌ | ✅ | [image][image] [^1]: Usage of specific code or data per encoding. Not a generalist approach. ## ⚡ Performance This package is faster than Chardet. | Package | Accuracy | Mean per file (ms) | |--------------------|:--------:|:------------------:| | chardet | 100 % | 0.4 ms[^2] | | charset-normalizer | 98 % | 0.4 ms | | Package | 99th percentile | 95th percentile | 50th percentile | |--------------------|:---------------:|:---------------:|:---------------:| | chardet | 2.7 ms | 1.0 ms | 0.2 ms | | charset-normalizer | 1.9 ms | 0.9 ms | 0.2 ms | _updated as of November 2026 using CPython 3.12, Charset-Normalizer 3.5.3, and Chardet 7.7 inside a (libc Debian) container. The host CPU is a 13th gen Intel mobile CPU. We'll no longer update regularly those since the sub-ms changes aren't meaningful to anyone anymore._ > Stats are generated using 477 files using default parameters. More details on used files, see GHA workflows. > And yes, these results might change at any time. The dataset can be updated to include more files. > The actual delays heavily depends on your CPU capabilities. The factors should remain the same. > Chardet reports higher accuracy on its own benchmark. Chardet used our 477-file > corpus when developing its early 7.x model weights. Charset-normalizer scores |
| Build (only) |
python314:dev:std python-pip:single:v14 autoselect-python:single:std |
| Build and Runtime | python314:primary:std |
| main | mirror://PYPIWHL/d2/0d/07ab8eb9b7015274353eac2add4067bde1ab1b51912bbae505392905eedd |
| python-reportlab:v14 | Library for generating PDFs and graphics (3.14) |
| python-requests:v14 | Python HTTP for Humans (3.14) |