1
0
mirror of https://github.com/mpv-player/mpv synced 2024-12-27 01:22:30 +00:00
mpv/misc
wm4 fc7212b214 charset_conv: check for UTF-8 if uchardet returns unknown
When libuchardet returns an empty string, it can be either ASCII, UTF-8,
or an unknown encoding. Try to distinguish it from the unknown case by
checking for UTF-8. This avoids an annoying message, and avoids
unnecessary processing (we convert invalid UTF-8 sequences to latin1 to
workaround libavcodec's braindead UTF-8 check).
2015-12-20 20:55:24 +01: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: check for UTF-8 if uchardet returns unknown 2015-12-20 20:55:24 +01:00
charset_conv.h sub: detect charset in demuxer 2015-12-17 01:17:23 +01: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