Support EUC-JP and Shift_JIS