Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Formats > ePub

Notices

Reply
 
Thread Tools Search this Thread
Old 05-07-2013, 12:01 PM   #1
silviolorusso
Enthusiast
silviolorusso began at the beginning.
 
silviolorusso's Avatar
 
Posts: 32
Karma: 10
Join Date: Jun 2011
Device: none
Problem with accents in the OPF file

Hello,

I'm having trouble validating my EPUB because of "special" accents in the .opf file.

Here's what I have in the .opf:

Code:
<package xmlns="http://www.idpf.org/2007/opf" unique-identifier="bookid" version="2.0">
   <metadata xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:opf="http://www.idpf.org/2007/opf">
...
<dc:creator opf:role="aut" opf:file-as="Xüxxx, Xxxx">Xxxx Xüxxx</dc:creator>
<dc:creator opf:role="aut" opf:file-as="Yyyyé, Yyyy">Yyyy Yyyyé</dc:creator>
and this is what I get from epubcheck:

Quote:
ERROR: /Users/silviolorusso/Desktop/PhD/digital toolkit/unike-us-epub/6-epub-slim/unlike-us-reader.epub: I/O error reading OEBPS/content.opf: Invalid byte 1 of 1-byte UTF-8 sequence.
silviolorusso is offline   Reply With Quote
Old 05-07-2013, 12:22 PM   #2
silviolorusso
Enthusiast
silviolorusso began at the beginning.
 
silviolorusso's Avatar
 
Posts: 32
Karma: 10
Join Date: Jun 2011
Device: none
Ok solved,

I had to set the actual file encoding to "UTF-8".
silviolorusso is offline   Reply With Quote
Advert
Old 05-07-2013, 12:36 PM   #3
Toxaris
Wizard
Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.
 
Toxaris's Avatar
 
Posts: 4,520
Karma: 121692313
Join Date: Oct 2009
Location: Heemskerk, NL
Device: PRS-T1, Kobo Touch, Kobo Aura
All files should be UTF-8 encoded. Try to avoid special characters in names when you can.
Toxaris is offline   Reply With Quote
Old 05-07-2013, 05:08 PM   #4
Jellby
frumious Bandersnatch
Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.
 
Jellby's Avatar
 
Posts: 7,515
Karma: 18512745
Join Date: Jan 2008
Location: Spaniard in Sweden
Device: Cybook Orizon, Kobo Aura
Quote:
Originally Posted by Toxaris View Post
Try to avoid special characters in names when you can.
If "names" means filenames, then I agree, filenames are just arbitrary, so there's no harm in using only ASCII characters in them (and no spaces). But if you mean real person names, then I can't agree, you should always write the names with the correct characters (with the possible exception of transliterated names from other scripts... other than the main book language, of course).
Jellby is offline   Reply With Quote
Old 05-08-2013, 03:51 AM   #5
Toxaris
Wizard
Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.
 
Toxaris's Avatar
 
Posts: 4,520
Karma: 121692313
Join Date: Oct 2009
Location: Heemskerk, NL
Device: PRS-T1, Kobo Touch, Kobo Aura
Of course I meant filenames Jellby!
Toxaris is offline   Reply With Quote
Advert
Reply

Tags
accent, check, epub, error, validate

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
I made my .opf file w/ Text Wranger; could that be a problem? petercrowell Kindle Formats 14 05-02-2012 04:00 PM
TWO OPF files or something like Media Queries in the OPF file for KF8 and MOBI? DHahn Kindle Formats 3 04-17-2012 04:06 AM
OPF file OPS/package.opf is missing Run2Eat ePub 2 05-31-2011 06:52 PM
Problem with accents converting PDF to EPUB madeira Calibre 0 07-09-2010 05:15 PM
Dealing with French accents in the OPF file MichaelGray ePub 1 02-16-2010 08:01 AM


All times are GMT -4. The time now is 07:54 PM.


MobileRead.com is a privately owned, operated and funded community.