macOS
brew install encalocal Homebrew formula metadata
sudo port install encaMacPorts ports tree · textproc/enca/Portfile · source: api.github.com
brew
Charset analyzer and converter. Version 1.22 via Homebrew; verified 2026-04-09.
install
brew install encalocal Homebrew formula metadata
sudo port install encaMacPorts ports tree · textproc/enca/Portfile · source: api.github.com
sudo apk add encaAlpine Linux edge package indexes · enca · source: dl-cdn.alpinelinux.org
sudo apt install encaDebian stable package indexes · enca · source: deb.debian.org
sudo dnf install encaFedora Rawhide package metadata · enca · source: dl.fedoraproject.org
nix profile install nixpkgs#encanixpkgs package indexes · pkgs/by-name/en/enca/package.nix · source: api.github.com
sudo pacman -S encaArch Linux sync databases · enca · source: geo.mirror.pkgbuild.com
sudo zypper install encaopenSUSE Tumbleweed package metadata · enca · source: download.opensuse.org
overview
Charset analyzer and converter
history
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.
security posture
narrow executable package without higher-risk signals.
green risk · low confidence · appliance
Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.
executables
| Command | Kind | Exposure | Note |
|---|---|---|---|
enca | cli | global executable | |
enconv | cli | global executable |
freshness
These signals separate page generation age, package-manager activity, and upstream release comparison. Version lag is warned only when an evidence URL and comparable versions are present.
https://github.com/Project-OSS-Revival/enca
install metadata
| Package key | brew:enca |
|---|---|
| Version | 1.22 |
| Package manager | Homebrew |
| Package manager page | https://formulae.brew.sh/formula/enca |
| Homepage | https://cihar.com/software/enca/ |
| Repository | https://github.com/Project-OSS-Revival/enca |
| Upstream docs | https://cihar.com/software/enca |
| License | GPL-2.0-only |
| Source archive | https://github.com/Project-OSS-Revival/enca/releases/download/1.22/enca-1.22.tar.xz |
| Last updated | 2026-04-09T20:41:11Z |
| Pulse | updated |
| Bottle | available (on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| Homebrew post-install | not defined |
| Service | none declared |
registry facts
| 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 |
|
source database matches
Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.
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-develsource trail
This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.
View the package source record on GitHub.