This is a bug in the version of the javascript engine shipped with Qt 4 (it appends extra null bytes at the end of JSON that contains non-BMP unicode characters).
Use the Qt 5 version of calibre from here: http://www.mobileread.com/forums/showthread.php?t=242223 and the bug will not occur.
I will add some code to strip out the null bytes before decoding to the next calibre release.
This is a bug in the version of the javascript engine shipped with Qt 4 (it appends extra null bytes at the end of JSON that contains non-BMP unicode characters).
Use the Qt 5 version of calibre from here: http:// www.mobileread. com/forums/ showthread. php?t=242223
and the bug will not occur.
I will add some code to strip out the null bytes before decoding to the next calibre release.