mpv/misc
wm4 f77e3cbf0c 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.
2015-04-28 09:58:28 +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 sub: add detection via BOM 2014-07-22 23:40:48 +02:00
charset_conv.h Move compat/ and bstr/ directory contents somewhere else 2014-08-29 12:31:52 +02:00
ctype.h Audit and replace all ctype.h uses 2014-07-01 23:11:08 +02:00
dispatch.c Fix gcc 4.7 warning about shadowing talloc_parent in mp_dispact_queue 2014-05-28 22:44:43 +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 Split mpvcore/ into common/, misc/, bstr/ 2013-12-17 02:39:45 +01:00