buganini / bsdconv

BSD licensed charset/encoding converter library with more function than libiconv

This URL has Read+Write access

name age message
file LICENSE Loading commit data...
file Makefile
file README
file TODO
directory codecs/
directory src/
directory wrapper/
README
Table format:
from<tab>to

Internal encoding:
* Should be as unicoded as possible
* UNICODE is prefixed with 01
* CNS11643 is prefixed with 02

--
Compiling & Installation (FreeBSD):
make
sudo make install

--
Run:
Convert traditional chinese big5 to simplified chinese utf-8
> bsdconv big5,ascii:chs:utf-8 in.txt out.txt

Convert big5 data, traditional chinese to simplified chinese, 
CRLF/CR/LF to CRLF, to big5 data, translate simplified chinese words, which are
not in big5, to HTML entities
> bsdconv big5,ascii:chs,win:cp950,ascii,iso-8859-1,htmlentity in.txt out.txt

More example:
> ./build/bin/bsdconv big5,ascii:nl2br:ascii,image in.txt out.htm