Xapian on Windows for users with a non-ASCII login

Jean-Francois Dockes jf at dockes.org
Wed Aug 19 16:19:30 BST 2026


Hello,

As already mentionned a few years ago, I maintain a xapian-core patch for having
an index under a non-ASCII path (e.g. Korean) on MS-Windows.

I just updated the patch for Xapian 2.1.0.

This is useful for Recoll users with a non-ASCII user name, as the Recoll index is under
their home directory by default. Recoll uses UTF-8 for the Xapian DB API calls, and the
patch manages the conversion to wide chars (Unicode) Windows API calls.

The patch was judged too hacky for inclusion in the standard Xapian. It's not that much
actually, the number of needed changes is quite small, in stable areas, and they have
proved easy to maintain.

Just in case this may be useful to anyone else:
https://framagit.org/medoc92/xapian-core-unicode-filenames/-/tree/xapian-v2?ref_type=heads

Best regards,

J.F. Dockes



More information about the Xapian-discuss mailing list