Opened 6 years ago

Closed 6 years ago

#620 closed defect (fixed)

get_description methods should always generate valid UTF-8

Reported by: olly Owned by: olly
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.

Change History (1)

comment:1 Changed 6 years ago by olly

  • Resolution set to fixed
  • Status changed from new to closed

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.

Note: See TracTickets for help on using tickets.