[Xapian-devel] Question about serialise

Liam xapian at networkimprov.net
Mon Aug 6 14:18:27 BST 2012


On Mon, Aug 6, 2012 at 2:52 AM, Richard Boulton <richard at tartarus.org>wrote:

> 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).
>

We'll need to use node Buffer objects, then.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.xapian.org/pipermail/xapian-devel/attachments/20120806/560c2352/attachment.htm>


More information about the Xapian-devel mailing list