Fix ISO-2022-JP encoding detection.