View Single Post
Old 10-21-2015, 09:13 AM   #1
Phssthpok
Age improves with wine.
Phssthpok knows how to set a laser printer to stun.Phssthpok knows how to set a laser printer to stun.Phssthpok knows how to set a laser printer to stun.Phssthpok knows how to set a laser printer to stun.Phssthpok knows how to set a laser printer to stun.Phssthpok knows how to set a laser printer to stun.Phssthpok knows how to set a laser printer to stun.Phssthpok knows how to set a laser printer to stun.Phssthpok knows how to set a laser printer to stun.Phssthpok knows how to set a laser printer to stun.Phssthpok knows how to set a laser printer to stun.
 
Posts: 579
Karma: 95229
Join Date: Nov 2014
Device: Kindle Oasis, Kobo Libra II
Strange behaviour with "not referenced" files

I have just seen a situation where the file names in a book were listed correctly in the OPF file, but marked as not referenced (they appeared in the "miscellaneous" section of the file browser with a warning marker). I noticed that the names included a curly apostrophe character (’). I fixed the problem by renaming the files to remove the apostrophe and then manually editing the OPF file to match, and as soon as I saved the OPF file, all the files moved to the "text" section of the file browser and everything was fine.

I thought it might be an encoding issue (the OPF is a UTF-8 file, but I don't know what encoding would be used for the names in the zipfile itself); however, adding a file to the book called x’y.html worked properly.

Can anyone suggest a reason why what I saw might have happened?
Phssthpok is offline   Reply With Quote