View Single Post
Old 04-07-2024, 11:31 AM   #26
KevinH
Sigil Developer
KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.
 
Posts: 8,887
Karma: 6120478
Join Date: Nov 2009
Device: many
Quote:
Originally Posted by BeckyEbook View Post
Works on Windows.
Changes Cover.xhtml to cover.xhtml without any problems
However, if I already have the name Cover.xhtml then the other file cannot be named cover.xhtml
I am not sure I understand.

You can change Cover.xhtml to cover.xhtml but can not then change cover.xhtml back to Cover.xhtml?

Or do you mean you have two files named "Cover.xhtml" but in different folders?

On Windows you can not have two files in the same folder that are just variants in case. But renaming a single file should now work even if just a case variant.

So I am confused.

The problem is Linux will allow two case variants of the same name in the same folder, but this is a horrible idea for epubs to do since many e-reader filesystems use FAT and desktop users use MacOS and Windows which are case insensitive.

Our earlier code explicitly prevented that and still should even after this change.

Last edited by KevinH; 04-07-2024 at 11:51 AM.
KevinH is online now   Reply With Quote