oasegips / sigil

Automatically exported from code.google.com/p/sigil
GNU General Public License v3.0
0 stars 0 forks source link

Space recognition in filename #232

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1.Have an xhtml filename contain space
2.in content.opf/toc.ncx reference the filename with %20 instead of the space. 
3. Have Sigil attempt to load

What is the expected output?
Editor is expected to open the file;

What do you see instead?
"Cannot read file C:/Documents and Settings/<username>/My
Documents/Sigil/scratchpad/<unique id>/OEBPS/<name of the xhtml containing
%20 instead of spaces>: No such file or directory

What version of the product are you using? On what operating system?
Version 0.1.8 Loaded Qt: 4.6.0
Windows XP SP2

Please provide any additional information below. If your source file
(SGF/EPUB/HTML/etc) is required to fully understand the problem, please
attach it to this issue. Read the ReportingIssues wiki page before
submitting!

Issue comes up commonly with epub files produced with Adobe InDesign CS4
in the epub file, the xhtml has a space in the filename while in the
accompanying files the xhtml is referenced with %20 instead of spaces. 

The epub itself is readable with Barnes and Noble Nook, Adobe Digital
Editions, and Calibre. 

By going into the epub file, it is possible to make it readable by Sigil,
It involves changing the spaces in the xhtml file to a - and changing the
references to match. After which it is readable with Sigil (e.g. changing
"The Book.xhtml" and its reference "The%20Book.xhtml" to "The-Book.xhtml".

Original issue reported on code.google.com by chayse...@gmail.com on 17 Jan 2010 at 9:09

GoogleCodeExporter commented 9 years ago

Original comment by Strahinja.Markovic@gmail.com on 17 Jan 2010 at 9:14

GoogleCodeExporter commented 9 years ago
This issue was closed by revision 4d88313f1c.

Original comment by Strahinja.Markovic@gmail.com on 22 Jan 2010 at 9:49