Enca
lastmod 2026-11-10created 2022-12-082 edits
Enca (Extremely Naive Charset Analyser) is a CLI tool that guesses the character encoding of text files and converts them to other encodings. When you specify a language, it determines the encoding statistically from among the candidate encodings commonly used for that language, and its conversion feature works similarly to iconv. It is one of the options, alongside tools such as uchardet and chardet, for cleaning up old text files with mixed encodings.
detect/convert encoding of text files