Announcing chardetng: A More Compact Character Encoding Detector for the Legacy Web

chardetng has been on for a while, but now it has undergone a couple of rounds of improvements to reach the point where it makes sense to write about it and to announce it.

It's a character encoding detector to be used when consuming encoding-unlabeled legacy Web content. If your app needs to consume the long tail of legacy Web content, this crate is probably of interest to you. If you don't need it, you should be happy about not needing it.


This is a sad day for the web, even if it was a bit easy to predict something like this happening.

Mozilla \ Google No Autodetect Autodetect
No autodetect Yay! Simpler, more predictable web! Chrome poaches users from Firefox. Eats the cost of maintaining ced to do so.
Autodetect Firefox poaches users from Chrome. Eats the cost of maintaining chardetng to do so. Oh no! Autodetect is part of the web forever!

In any case, it's nice to see that Mozilla has truly committed to developing new and improved Firefox features in Rust.

This topic was automatically closed 90 days after the last reply. We invite you to open a new topic if you have further questions or comments.