1
0
mirror of https://github.com/mpv-player/mpv synced 2024-12-21 14:22:17 +00:00
mpv/misc
wm4 e5d3180889 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.
2015-08-04 18:58:58 +02:00
..
bstr.c Update license headers 2015-04-13 12:10:01 +02:00
bstr.h Update license headers 2015-04-13 12:10:01 +02:00
charset_conv.c charset_conv: use our own UTF-8 check with ENCA only 2015-08-04 18:58:58 +02:00
charset_conv.h charset_conv: make it possible to return an allocated string as guess 2015-08-01 23:49:37 +02:00
ctype.h
dispatch.c threads: use utility+POSIX functions instead of weird wrappers 2015-05-11 23:44:36 +02:00
dispatch.h
json.c json: fix UTF-8 handling 2015-04-28 09:58:28 +02:00
json.h lua: expose JSON parser 2014-10-19 05:51:37 +02:00
rendezvous.c
rendezvous.h
ring.c
ring.h