ArchiveSession's write method should use "UTF-8" as the encoding for the payload's buffer:
byte[] buf = packet.payload().getBytes("UTF-8");
I don't know if there are any negative implications to this change.
However, I want to add for this reason and some others, knapsack (1.7.2) has caused more trouble than the time I thought it would save me for my particular reindexing need (not accounting for CPU time). I did not find an existing out-of-the-box (and efficient) alternative, so I ended up coding my own solution.
ArchiveSession's write method should use "UTF-8" as the encoding for the payload's buffer:
byte[] buf = packet.payload().getBytes("UTF-8");
I don't know if there are any negative implications to this change.
However, I want to add for this reason and some others, knapsack (1.7.2) has caused more trouble than the time I thought it would save me for my particular reindexing need (not accounting for CPU time). I did not find an existing out-of-the-box (and efficient) alternative, so I ended up coding my own solution.