Quote:
Originally Posted by tompe
Just look at the example file and see if there is a 0 at position 32 or less.
Maybe the title contains unicode characters?
|
No unicode on my end. I just manually typed the title in question to be sure (in case copy paste was doing something weird).
With these really long titles, calibre appears to be filling the entire database name string with 32 characters from the title. The NUL doesn't occur until position 33:
Code:
The_Demon-Haunted_World__Science\x00
That's two underscores between 'World' and 'Science'. With shorter names, the NUL appears at position 32 or less.
It definitely seems like a calibre issue to me...
IF it can be verified that a NUL is
definitely supposed to be in the 32nd position (or less) of a valid Palmdoc header.
EDIT: Many Kindle books no longer
have a Palm DB Name, so I can't compare with one of theirs. The only Kindle book I have with a title longer than 32 characters doesn't have a Database name.