Auto detect CJK and Unicode file encodings.