[Xapian-devel] Question about serialise

Richard Boulton richard at tartarus.org
Mon Aug 6 10:52:03 BST 2012


On 6 August 2012 09:48, Marius Tibeica <mtibeica at gmail.com> wrote:
> Do the serialise method of Document and Query produce a valid utf8 string?

No, they produce a byte string which may contain any byte values.

I'm not sure what the node bindings do with these; if there's no byte
type available in node, there should probably be some option to get
the serialised values as a base64 encoded string or something like
that (but such an option doesn't currently exist as far as I know).

-- 
Richard



More information about the Xapian-devel mailing list