Install Enca On A Debian, Ubuntu, Alpine, Arch, Kali, Fedora, Raspbian And MacOS
Maintainer: Michal u010cihau0159
Email: [email protected] .
Website: https://cihar.com/software/enca/
Section: text
Install enca
-
Debian
apt-get install encaClick to copy -
Ubuntu
apt-get install encaClick to copy -
Alpine OS
apk add encaClick to copy -
Arch Linux
pacman -S encaClick to copy -
Kali Linux
apt-get install encaClick to copy -
Fedora
dnf install encaClick to copy -
Raspbian
apt-get install encaClick to copy -
macOS
brew install encaClick to copy
Detect and convert encoding of text files.
How to use enca?
Below are few example commands for enca that you can use in the terminal.
Detect file(s) encoding according to your system's locale:enca file(s)Click to copyDetect file(s) encoding; -L option tells enca the current language; language is in the POSIX/C locale format, e.g. zh_CN, en_US etc:enca -L language file(s)Click to copyConvert file(s) to specified encoding:enca -L language -x to_encoding file(s)Click to copySave original_file as new_file and convert new_file to specified encoding:enca -L language -x to_encoding < original_file > new_fileClick to copy
Install the latest version of enca in Debian, Ubuntu, Alpine, Arch, Kali, Fedora, Raspbian and macOS from terminal. To install the enca just copy the above command for your OS and run into terminal. After you run the command it will grab the latest version of enca from the respository and install it in your computer/server.




