nkf (2)

先日なんか書きましたけれど、結局フルサポートする事にしました。

CP932 to UTF-16BE
  nkf -S -xw16B0 --cp932
UTF-16BE to CP932
  nkf -s -xW16B0

CP51932 to UTF-16BE
  nkf -E -xw16B0 --cp932
UTF-16BE to CP51932
  nkf -e -xW16B0

eucJP-ms to UTF-16BE
  nkf -E -xw16B0 --no-cp932 --ms-ucs-map
UTF-16BE to eucJP-ms
  nkf -e -xW16B0 --no-cp932 --x0212

Version 2.0.5 (2005-10-28) ならば以上で変換できるはずです。