When merging index entries where the corresponding files contain Unicode codepoints an error is thrown. Decode the C string using UTF-8 to fix the issue and adjust the test case for merging files to contain umlauts to catch such errors.