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?
|