uchardet
brew install uchardet
v0.0.8
MPL-1.1 OR GPL-2.0-or-later OR LGPL-2.1-or-later
C library and command-line tool that detects character encoding in text files and streams.
Why you might care
Automatically identifies the encoding (UTF-8, UTF-16, ASCII, various CJK encodings, etc.) of text without user hints, useful in build pipelines that process files of unknown origin. Used as a dependency by other tools that need robust encoding detection; the CLI tool is handy for batch-processing legacy text files.
2.6k
30-day installs · #848
5.8k
90-day · #1025
16.1k
365-day · #1177
Build dependencies
Links
- https://www.freedesktop.org/wiki/Software/uchardet/
- Brew formula source: Formula/u/uchardet.rb
Blurb generated by claude-haiku-4-5 on today.
Raw metadata
{
"aliases": [],
"alternatives": [
"iconv",
"file",
"chardet"
],
"build_dependencies": [
"cmake"
],
"categories": [
"library",
"text-processor",
"encoding-detection"
],
"caveats": null,
"conflicts_with": [],
"dependencies": [],
"deprecated": 0,
"deprecation_reason": null,
"desc": "Encoding detector library",
"disable_reason": null,
"disabled": 0,
"enrichment_fetched_at": "2026-06-20T23:41:08+00:00",
"first_seen": "2026-06-20T23:34:18+00:00",
"full_name": "uchardet",
"github_default_branch": null,
"github_last_commit_at": null,
"github_readme_excerpt": null,
"github_repo": null,
"github_stars": null,
"github_topics": [],
"homepage": "https://www.freedesktop.org/wiki/Software/uchardet/",
"homepage_og_description": null,
"homepage_og_image": null,
"homepage_title": "uchardet",
"installs_30d": 2632,
"installs_365d": 16115,
"installs_90d": 5759,
"keg_only": 0,
"keg_only_reason": null,
"last_seen": "2026-06-20T23:34:18+00:00",
"license": "MPL-1.1 OR GPL-2.0-or-later OR LGPL-2.1-or-later",
"llm_generated_at": "2026-06-20T23:47:26+00:00",
"llm_model": "claude-haiku-4-5",
"name": "uchardet",
"oldnames": [],
"one_liner": "C library and command-line tool that detects character encoding in text files and streams.",
"optional_dependencies": [],
"rank_30d": 848,
"rank_365d": 1177,
"rank_90d": 1025,
"raw_hash": "34d3313fab649916",
"recommended_dependencies": [],
"revision": 0,
"ruby_source_path": "Formula/u/uchardet.rb",
"tap": "homebrew/core",
"test_dependencies": [],
"uses_from_macos": [],
"version_head": "HEAD",
"version_stable": "0.0.8",
"versioned_formulae": [],
"why_use_this": "Automatically identifies the encoding (UTF-8, UTF-16, ASCII, various CJK encodings, etc.) of text without user hints, useful in build pipelines that process files of unknown origin. Used as a dependency by other tools that need robust encoding detection; the CLI tool is handy for batch-processing legacy text files."
}