Support UTF-8-Mac (input only), EUC-JP-MS and CP932