diff options
author | wm4 <wm4@nowhere> | 2015-08-04 18:58:58 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2015-08-04 18:58:58 +0200 |
commit | e5d3180889ab14a57aacb9772ee67ad24478a3f1 (patch) | |
tree | c3e009d3119adda5f9765b8b3e51553a4b1105ff /video | |
parent | 3ab6155d211c0891fca57bc504c3401d59e8424f (diff) | |
download | mpv-e5d3180889ab14a57aacb9772ee67ad24478a3f1.tar.bz2 mpv-e5d3180889ab14a57aacb9772ee67ad24478a3f1.tar.xz |
charset_conv: use our own UTF-8 check with ENCA only
Some charsets can look like valid UTF-8, but aren't UTF-8. One example
is ISO-2022-JP. While ENCA apparently likes to get misdetect real UTF-8,
this is not the case with uchardet. uchardet can detect ISO-2022-JP
correctly, but didn't even get to try, because our own UTF-8 check
succeeded. So run the UTF-8 check when using ENCA only.
Fixes #2195.
Diffstat (limited to 'video')
0 files changed, 0 insertions, 0 deletions