mpv/misc
wm4 0a55f43181 json: fix UTF-8 handling
We escape only characters below 32, plus " and \. UTF-8 should be apssed
through verbatim. Since char can be signed (and usually is), the check
broke and happened to escape UTF-8 encoded bytes too. This broke UTF-8
completely.

Note that we don't check for broken or invalid UTF-8, such as described
both in the client API and IPC docs.

Fixes #1874.

(cherry picked from commit f77e3cbf0c)
2015-04-29 18:38:34 +09: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.h
ctype.h
dispatch.c
dispatch.h
json.c json: fix UTF-8 handling 2015-04-29 18:38:34 +09:00
json.h lua: expose JSON parser 2014-10-19 05:51:37 +02:00
rendezvous.c
rendezvous.h
ring.c
ring.h