macOS
brew install encalocal Homebrew formula metadata
sudo port install encaMacPorts ports tree · textproc/enca/Portfile · 来源: api.github.com
安装
brew install encalocal Homebrew formula metadata
sudo port install encaMacPorts ports tree · textproc/enca/Portfile · 来源: api.github.com
sudo apk add encaAlpine Linux edge package indexes · enca · 来源: dl-cdn.alpinelinux.org
sudo dnf install encaFedora Rawhide package metadata · enca · 来源: dl.fedoraproject.org
nix profile install nixpkgs#encanixpkgs package indexes · pkgs/by-name/en/enca/package.nix · 来源: api.github.com
sudo pacman -S encaArch Linux sync databases · enca · 来源: geo.mirror.pkgbuild.com
sudo zypper install encaopenSUSE Tumbleweed package metadata · enca · 来源: download.opensuse.org
概览
Charset analyzer and converter
历史
Enca, the Extremely Naive Charset Analyser, is a command-line tool and library for detecting text encodings and converting files through built-in and external converters. Its niche is old-fashioned but still practical: figuring out what character set a text file is using before a script or migration mangles it.
The README preserves a clear maintenance lineage: original copyright by David Necas from 2000 to 2003, later work by Michal Cihar from 2009 to 2016, and Project OSS Revival maintenance from 2025 to 2026. Michal Cihar's project page lists Enca 1.19 and links the historical `nijel/enca` repository, while the package metadata points to the revived Project OSS Revival repository.
Enca's adoption has been mostly in Unix text-processing and distribution packaging rather than in application-level branding. Its value comes from being scriptable through the `enca` and `enconv` commands and from supporting Central and Eastern European language encodings alongside multibyte encodings.
Users run `enca` to guess an input file's encoding and `enconv` or converter integration to rewrite text into another encoding. The README documents optional use of GNU recode, iconv, Perl charset converters, and cstocs, which is exactly the kind of plumbing that made it useful in legacy text cleanup workflows.
Enca is a classic small Unix package: autoconf build, C library plus CLI frontend, optional converter backends, and a job that mostly appears when old text meets modern UTF-8 assumptions. It matters to packagers because charset detection and conversion bugs are painful, regional, and hard to replace with a generic shell one-liner.
安全态势
narrow executable package without higher-risk signals.
绿色 风险 · 低 置信度 · appliance
在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。
可执行文件
| 命令 | 类型 | 暴露范围 | 备注 |
|---|---|---|---|
enca | cli | 全局可执行文件 | |
enconv | cli | 全局可执行文件 |
新鲜度
这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。
https://github.com/Project-OSS-Revival/enca
安装元数据
| 软件包键 | brew:enca |
|---|---|
| 版本 | 1.22 |
| 软件包管理器 | Homebrew |
| 软件包管理器页面 | https://formulae.brew.sh/formula/enca |
| 主页 | https://cihar.com/software/enca/ |
| 仓库 | https://github.com/Project-OSS-Revival/enca |
| 上游文档 | https://cihar.com/software/enca |
| 许可证 | GPL-2.0-only |
| 源码归档 | https://github.com/Project-OSS-Revival/enca/releases/download/1.22/enca-1.22.tar.xz |
| 最后更新 | 2026-04-09T20:41:11Z |
| Pulse | updated |
| Bottle | 可用 (于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| Homebrew post-install | 未定义 |
| 服务 | 未声明 |
注册表事实
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | enca |
| Version Scheme | 0 |
| Revision | 0 |
| Head Version | HEAD |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
源数据库匹配
匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。
enca 1.19-3
Extremely Naive Charset Analyser - binaries
https://cihar.com/software/enca/
sudo apt install encalibenca-dev 1.19-3
Extremely Naive Charset Analyser - development files
https://cihar.com/software/enca/
sudo apt install libenca-devlibenca0 1.19-3
Extremely Naive Charset Analyser - shared library files
https://cihar.com/software/enca/
sudo apt install libenca0enca
nix profile install nixpkgs#encaenca 1.19-1.1build1
Extremely Naive Charset Analyser - binaries
http://cihar.com/software/enca/
sudo apt install encalibenca-dbg 1.19-1.1build1
Extremely Naive Charset Analyser - debug files
http://cihar.com/software/enca/
sudo apt install libenca-dbglibenca-dev 1.19-1.1build1
Extremely Naive Charset Analyser - development files
http://cihar.com/software/enca/
sudo apt install libenca-devlibenca0 1.19-1.1build1
Extremely Naive Charset Analyser - shared library files
http://cihar.com/software/enca/
sudo apt install libenca0enca 1.19-r4
Charset analyser and converter
http://freshmeat.net/projects/enca/
sudo apk add encaenca-dev 1.19-r4
Charset analyser and converter (development files)
http://freshmeat.net/projects/enca/
sudo apk add enca-devenca-doc 1.19-r4
Charset analyser and converter (documentation)
http://freshmeat.net/projects/enca/
sudo apk add enca-docenca 1.19-19.fc44
Character set analyzer and detector
http://cihar.com/software/enca
sudo dnf install encaenca-devel 1.19-19.fc44
Header files and libraries for enca charset analyzer
http://cihar.com/software/enca
sudo dnf install enca-develenca 1.22-1
Charset analyser and converter
https://cihar.com/software/enca/
sudo pacman -S encaenca 1.19-2.12
Detects encoding of text files
https://cihar.com/software/enca/
sudo zypper install encaenca-devel 1.19-2.12
Header files and libraries for Enca development
https://cihar.com/software/enca/
sudo zypper install enca-devel来源线索
此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。
View the package source record on GitHub.