fix "Shift JIS" code misdetection

see https://github.com/owncloud/files_texteditor/issues/46