libiconv

Character encoding conversion library for text data

brewmacoslinux
Try with needOr install directly
Source

About

Conversion library

Commands

iconv

Examples

Convert file from UTF-8 to ISO-8859-1 encoding$ iconv -f UTF-8 -t ISO-8859-1 input.txt -o output.txt
List all supported character encodings$ iconv --list
Convert text from one encoding to another via pipe$ echo 'Hello' | iconv -f UTF-8 -t ASCII