Opened 12 years ago
Closed 11 years ago
#620 closed defect (fixed)
get_description methods should always generate valid UTF-8
Reported by: | Olly Betts | Owned by: | Olly Betts |
---|---|---|---|
Priority: | normal | Milestone: | 1.3.2 |
Component: | Library API | Version: | SVN trunk |
Severity: | normal | Keywords: | |
Cc: | Blocked By: | ||
Blocking: | Operating System: | All |
Description
(Spun off #346)
In some cases (e.g. Query::get_description() of a value range or even a term) get_description() methods can return invalid UTF-8.
This is unhelpful in the bindings, and also in general as you can't view the output nicely. We should do something like translating the binary data to escape sequences.
Note:
See TracTickets
for help on using tickets.
Fixed in trunk r17473 (core) and r17474 (xapian-bindings).
I think this probably isn't appropriate to backport to 1.2.x at this point, so marking as fixed.