Opened 8 years ago
Closed 8 years ago
#10820 closed Bugs (fixed)
UTF-8 escaping in property_tree JSON serialization is wrong
Reported by: | Owned by: | Sebastian Redl | |
---|---|---|---|
Milestone: | To Be Determined | Component: | property_tree |
Version: | Boost 1.57.0 | Severity: | Problem |
Keywords: | Cc: |
Description
Unicode escaper erroneously uses signed char comparison with unsigned entities, producing invalid results for utf-8.
The patch and test cases are provided in https://github.com/boostorg/property_tree/pull/7
Change History (2)
comment:1 by , 8 years ago
Status: | new → assigned |
---|
comment:2 by , 8 years ago
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Merged to master in commit 3befb8cbe4.
Note:
See TracTickets
for help on using tickets.
It's an erroneous assumption that PTree should work with UTF-8 in the first place, but I accepted the pull request. It's now in the develop branch, and will be merged to master soon.