made shift-jis detector optional and configurable