macOS
brew install libchardetlocal Homebrew formula metadata
brew / 順位 11398
libchardet のインストール経路、実行ファイル、メタデータ、AI エージェント向けセキュリティノートを確認します。
インストール
brew install libchardetlocal Homebrew formula metadata
sudo dnf install libchardetFedora Rawhide package metadata · libchardet · ソース: dl.fedoraproject.org
nix profile install nixpkgs#libchardetnixpkgs package indexes · pkgs/by-name/li/libchardet/package.nix · ソース: api.github.com
sudo pacman -S libchardetArch Linux sync databases · libchardet · ソース: geo.mirror.pkgbuild.com
sudo apt install libchardet-devDebian stable package indexes · libchardet-dev · ソース: deb.debian.org
sudo zypper install libchardet-developenSUSE Tumbleweed package metadata · libchardet-devel · ソース: download.opensuse.org
概要
Mozilla's Universal Charset Detector C/C++ API
履歴
libchardet is a C/C++ API around Mozilla's Universal Charset Detector lineage. It detects the likely character encoding of byte streams, a task that matters when programs ingest legacy text without reliable charset labels.
Mozilla's archived charset detector documentation describes the original detector as an XPCOM component that receives bytes and guesses the charset. A companion Mozilla document from 2002 explains that the universal detector implementation was separable from the XPCOM wrapper and could be used by other projects.
The libchardet README says the library is based on Mozilla Universal Charset Detector code originally written by Netscape Communications Corporation, with a C wrapping API and libtool build environment. It also records later changes: version 1.0.5 incorporated single-byte charset confidence ideas and language models from uchardet, and version 1.0.6 added BOM reporting.
libchardet's adoption is narrower than Python chardet or uchardet, but it fills the same packaging niche for C/C++ consumers that need Mozilla-style charset guessing without embedding the whole browser-era component. The batch input lists packages in Homebrew, Debian/Ubuntu, Fedora, Arch, Nix, and openSUSE, mostly as a development library.
The repository documents a small API centered on detect_obj_init, detect or detect_r, confidence reporting, and object cleanup. The package also installs chardet-config for build integration, so downstream C/C++ projects can compile against the library.
libchardet is significant because charset detection is one of those small compatibility problems that keeps returning in editors, importers, scrapers, mail tools, and document converters. It also shows how browser infrastructure escaped into standalone libraries: Mozilla/Netscape detection code became reusable C, Python, Perl, and other language bindings.
セキュリティ状態
library-like package without higher-risk signals.
リスク グリーン · 信頼度 低 · appliance
エージェントに無人実行させる前に、このツールが平文の認証情報を読むか、リモート状態を書き込むか、成果物を公開するか、プラグインを起動するかを確認してください。
実行可能ファイル
| コマンド | 種類 | 公開範囲 | メモ |
|---|---|---|---|
chardet-config | 実行可能ファイル | インデックス済み実行可能ファイル | ローカル実行可能ファイルインデックスから検出されました。 |
鮮度
これらの信号は、ページ生成時期、パッケージマネージャの活動、上流リリース比較を分けて示します。バージョン遅れは、証拠 URL と比較可能なバージョンがある場合だけ警告されます。
インストールメタデータ
| パッケージキー | brew:libchardet |
|---|---|
| バージョン | 1.0.6 |
| パッケージマネージャ | Homebrew |
| ホームページ | https://github.com/Joungkyun/libchardet |
| リポジトリ | https://github.com/Joungkyun/libchardet |
| Bottle | 未記録 |
| サービス | 宣言なし |
ソースデータベース一致
一致は外部パッケージマネージャインデックスから取得され、ローカルの Automic Vault パッケージリンクとは分けて表示されます。
libchardet-dev 1.0.6-1
universal charset detection library - development files
https://github.com/Joungkyun/libchardet
sudo apt install libchardet-devlibchardet1t64 1.0.6-1
universal charset detection library - shared library
https://github.com/Joungkyun/libchardet
sudo apt install libchardet1t64libchardet
nix profile install nixpkgs#libchardetlibchardet-dev 1.0.4-1.1build1
universal charset detection library - development files
https://ftp.oops.org/pub/oops/libchardet/
sudo apt install libchardet-devlibchardet1t64 1.0.4-1.1build1
universal charset detection library - shared library
https://ftp.oops.org/pub/oops/libchardet/
sudo apt install libchardet1t64libchardet 1.0.5-24.fc45
Mozilla's universal character set detector
http://ftp.oops.org/pub/oops/libchardet/
sudo dnf install libchardetlibchardet-devel 1.0.5-24.fc45
Header and object files for development using libchardet
http://ftp.oops.org/pub/oops/libchardet/
sudo dnf install libchardet-devellibchardet 1.0.6-4
Mozilla's Universal Charset Detector C/C++ API
http://ftp.oops.org/pub/oops/libchardet
sudo pacman -S libchardetlibchardet-devel 1.0.6-2.6
Development files of libchardet
https://github.com/Joungkyun/libchardet
sudo zypper install libchardet-devellibchardet1 1.0.6-2.6
Mozilla Universal Chardet library
https://github.com/Joungkyun/libchardet
sudo zypper install libchardet1ソース経路
このページは scripts/generate-pkg-sqlite.py が生成した非公開のパッケージ SQLite アーティファクトから av-web によって提供されます。
View the package source record on GitHub.