{"push_id":738287877,"size":2,"distinct_size":2,"ref":"refs/heads/distro/suse-0-94-2","head":"e7d46ea04b17b5c9dee8f8ce5ae94ed03492a2e3","before":"31f1afb873c9d086bdf4f97297c2603fde277d7d","commits":[{"sha":"3ab7d66110dd6ee6962ace84670097f63379a286","author":{"email":"179776560e3cc6916f9eda0b631970b6e8e82669@suse.com","name":"Tim Serong"},"message":"json_spirit: use utf8 intenally when parsing \\uHHHH\n\nWhen the python CLI is given non-ASCII characters, it converts them to\n\\uHHHH escapes in JSON.  json_spirit parses these internally into 16 bit\ncharacters, which could only work if json_spirit were built to use\nstd::wstring, which it isn't; it's using std::string, so the high byte\nends up being zero'd, leaving the low byte which is effectively garbage.\n\nThis hack^H^H^H^H change makes json_spirit convert to utf8 internally\ninstead, which can be stored just fine inside a std::string.\n\nNote that this implementation still assumes \\uHHHH escapes are four hex\ndigits, so it'll only cope with characters in the Basic Multilingual\nPlane.  Still, that's rather a lot more characters than it could cope\nwith before ;)\n\n(For characters outside the BMP, Python seems to generate escapes in the\nform \\uHHHHHHHH, i.e. 8 hex digits, which the current implementation\ndoesn't expect to see)\n\nFixes: #7387\n\nSigned-off-by: Tim Serong <tserong@suse.com>\n(cherry picked from commit 8add15b86e7aaef41397ab8fa9e77ee7957eb607)","distinct":true,"url":"https://api.github.com/repos/SUSE/ceph/commits/3ab7d66110dd6ee6962ace84670097f63379a286"},{"sha":"e7d46ea04b17b5c9dee8f8ce5ae94ed03492a2e3","author":{"email":"a4b264ee037c625052534d60505bfd0db4776ac4@redhat.com","name":"Kefu Chai"},"message":"json_sprit: fix the FTBFS on old gcc\n\nFixes: #11574\nSigned-off-by: Kefu Chai <kchai@redhat.com>\n(cherry picked from commit 6b68b27146852f057a3373cd04b08cd6917f3eea)","distinct":true,"url":"https://api.github.com/repos/SUSE/ceph/commits/e7d46ea04b17b5c9dee8f8ce5ae94ed03492a2e3"}]}