- cygwin 2.6.0 (0.304/5/3)
- Python 3.4.5
- libiconv 1.14
Python
libiconv
http://www.gnu.org/software/libiconv/
EUC-JIS-2004 Text File
http://x0213.org/codetable/euc-jis-2004-with-char.txt
Shift_JIS-2004 Text File
http://x0213.org/codetable/sjis-0213-2004-with-char.txt
$ python3 pconv.py euc_jis_2004 euc-jis-2004-with-char.txt utf_8 euc-jis-2004-python.txt
$ iconv -f EUC-JIS-2004 -t UTF-8 euc-jis-2004-with-char.txt > euc-jis-2004-iconv.txt
$ diff euc-jis-2004-python.txt euc-jis-2004-iconv.txt > diff-euc-jis-2004.txt
$ python3 pconv.py shift_jis_2004 sjis-0213-2004-with-char.txt utf_8 sjis-0213-2004-python.txt
$ iconv -f Shift_JIS-2004 -t UTF-8 sjis-0213-2004-with-char.txt > sjis-0213-2004-iconv.txt
$ diff sjis-0213-2004-python.txt sjis-0213-2004-iconv.txt > diff-sjis-0213-2004.txt