bsdconv

Charset and encoding converter library for text conversion

brewmacoslinux
Try with needOr install directly
Source

About

Charset/encoding converter library

Commands

bsdconv

Examples

Convert text from UTF-8 to Big5 (Traditional Chinese)$ bsdconv utf-8:big5 input.txt > output.txt
Convert from GB2312 (Simplified Chinese) to UTF-8$ bsdconv gb2312:utf-8 < input.txt
List all available charset conversion pairs$ bsdconv --help