1
0
mirror of https://github.com/mpv-player/mpv synced 2024-12-17 12:25:03 +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 Audit and replace all ctype.h uses 2014-07-01 23:11:08 +02:00
dispatch.c threads: use utility+POSIX functions instead of weird wrappers 2015-05-11 23:44:36 +02:00
dispatch.h dispatch: move into its own source file 2014-04-23 21:16:51 +02:00
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 Add Plan 9-style barriers 2014-07-26 20:29:48 +02:00
rendezvous.h Add Plan 9-style barriers 2014-07-26 20:29:48 +02:00
ring.c Move compat/ and bstr/ directory contents somewhere else 2014-08-29 12:31:52 +02:00
ring.h