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

Go Back   MobileRead Forums > E-Book Software > EPUBReader

Notices

Reply
 
Thread Tools Search this Thread
Old 12-05-2009, 06:21 AM   #1
paulpeer
Zealot
paulpeer is on a distinguished road
 
paulpeer's Avatar
 
Posts: 147
Karma: 56
Join Date: Dec 2009
Location: Antwerpen
Device: iPhone, Sony PRS-505, EPUBreader
EPUBreader for pure ASCII only?

I've tried to read some non-English books and all accented characters are scrambled. Does EPUBreader support foreign languages? Or should I indicate that the source is in UTF-8 character set somewhere?
paulpeer is offline   Reply With Quote
Old 12-05-2009, 07:43 AM   #2
mikelv
Developer of EPUBReader
mikelv once ate a cherry pie in a record 7 seconds.mikelv once ate a cherry pie in a record 7 seconds.mikelv once ate a cherry pie in a record 7 seconds.mikelv once ate a cherry pie in a record 7 seconds.mikelv once ate a cherry pie in a record 7 seconds.mikelv once ate a cherry pie in a record 7 seconds.mikelv once ate a cherry pie in a record 7 seconds.mikelv once ate a cherry pie in a record 7 seconds.mikelv once ate a cherry pie in a record 7 seconds.mikelv once ate a cherry pie in a record 7 seconds.mikelv once ate a cherry pie in a record 7 seconds.
 
Posts: 269
Karma: 1922
Join Date: Oct 2009
Device: none
Quote:
Originally Posted by paulpeer View Post
I've tried to read some non-English books and all accented characters are scrambled. Does EPUBreader support foreign languages? Or should I indicate that the source is in UTF-8 character set somewhere?
Hi Paul, thanks for your feedback!

EPUBReader supports also foreign languages. It works without problems for example with hebrew or cyrill epubs.

Could you please post the epub itself or a link? I'd like to check this.
mikelv is offline   Reply With Quote
Old 12-05-2009, 10:21 AM   #3
paulpeer
Zealot
paulpeer is on a distinguished road
 
paulpeer's Avatar
 
Posts: 147
Karma: 56
Join Date: Dec 2009
Location: Antwerpen
Device: iPhone, Sony PRS-505, EPUBreader
Quote:
Originally Posted by mikelv View Post
EPUBReader supports also foreign languages. It works without problems for example with hebrew or cyrill epubs.
Thanks for your quick reply! But I feel a little stupid now The books that I have watched a few hours ago now are quite perfect in EPUBReader. I'm very sure that the accented characters looked like "7%" or something similar. And I assure you that I wasn't drunk!

Anyhow, problem solved, although I cannot figure out what happened ...

Sorry to have bothered!

Paul
paulpeer is offline   Reply With Quote
Old 12-05-2009, 12:27 PM   #4
mikelv
Developer of EPUBReader
mikelv once ate a cherry pie in a record 7 seconds.mikelv once ate a cherry pie in a record 7 seconds.mikelv once ate a cherry pie in a record 7 seconds.mikelv once ate a cherry pie in a record 7 seconds.mikelv once ate a cherry pie in a record 7 seconds.mikelv once ate a cherry pie in a record 7 seconds.mikelv once ate a cherry pie in a record 7 seconds.mikelv once ate a cherry pie in a record 7 seconds.mikelv once ate a cherry pie in a record 7 seconds.mikelv once ate a cherry pie in a record 7 seconds.mikelv once ate a cherry pie in a record 7 seconds.
 
Posts: 269
Karma: 1922
Join Date: Oct 2009
Device: none
Quote:
Originally Posted by paulpeer View Post
Thanks for your quick reply! But I feel a little stupid now The books that I have watched a few hours ago now are quite perfect in EPUBReader. I'm very sure that the accented characters looked like "7%" or something similar. And I assure you that I wasn't drunk!

Anyhow, problem solved, although I cannot figure out what happened ...

Sorry to have bothered!

Paul
Hi Paul, no problem ! If the problem occurs again, please let me know.
mikelv is offline   Reply With Quote
Old 12-09-2009, 02:39 PM   #5
brendanl79
Member
brendanl79 began at the beginning.
 
Posts: 18
Karma: 14
Join Date: Jan 2009
Location: Massachusetts, USA
Device: Kindle Voyage x2, Onyx BOOX Note 3
The first ePub I tried had Unicode problems with quotes and apostrophes. Table of Contents renders fine but in the page viewer I see things like "doesn’t". Afraid I cannot provide a sample due to my "inept"-itude.

Book renders fine in Calibre, confirmed with iconv that it's valid UTF-8, manual override of encoding to UTF-8 in Firefox does not fix it.

Halp?
brendanl79 is offline   Reply With Quote
Old 12-09-2009, 03:38 PM   #6
mikelv
Developer of EPUBReader
mikelv once ate a cherry pie in a record 7 seconds.mikelv once ate a cherry pie in a record 7 seconds.mikelv once ate a cherry pie in a record 7 seconds.mikelv once ate a cherry pie in a record 7 seconds.mikelv once ate a cherry pie in a record 7 seconds.mikelv once ate a cherry pie in a record 7 seconds.mikelv once ate a cherry pie in a record 7 seconds.mikelv once ate a cherry pie in a record 7 seconds.mikelv once ate a cherry pie in a record 7 seconds.mikelv once ate a cherry pie in a record 7 seconds.mikelv once ate a cherry pie in a record 7 seconds.
 
Posts: 269
Karma: 1922
Join Date: Oct 2009
Device: none
Hi brendanl, thanks for your feedback!

I think without an example, I'm not able to help you. Please post the epub you tried or a link where I can download it. Where do you see the problems to provide a sample?
mikelv is offline   Reply With Quote
Old 12-10-2009, 11:33 AM   #7
brendanl79
Member
brendanl79 began at the beginning.
 
Posts: 18
Karma: 14
Join Date: Jan 2009
Location: Massachusetts, USA
Device: Kindle Voyage x2, Onyx BOOX Note 3
OK mikel, sent example and screenshot to your project gmail.
brendanl79 is offline   Reply With Quote
Old 12-10-2009, 12:07 PM   #8
mikelv
Developer of EPUBReader
mikelv once ate a cherry pie in a record 7 seconds.mikelv once ate a cherry pie in a record 7 seconds.mikelv once ate a cherry pie in a record 7 seconds.mikelv once ate a cherry pie in a record 7 seconds.mikelv once ate a cherry pie in a record 7 seconds.mikelv once ate a cherry pie in a record 7 seconds.mikelv once ate a cherry pie in a record 7 seconds.mikelv once ate a cherry pie in a record 7 seconds.mikelv once ate a cherry pie in a record 7 seconds.mikelv once ate a cherry pie in a record 7 seconds.mikelv once ate a cherry pie in a record 7 seconds.
 
Posts: 269
Karma: 1922
Join Date: Oct 2009
Device: none
Quote:
Originally Posted by brendanl79 View Post
OK mikel, sent example and screenshot to your project gmail.
Thanks!

The problem is caused by a duplicate "content" meta-tag:

<meta content="text/html; charset=iso-8859-1"/>
<meta content="http://www.w3.org/1999/xhtml; charset=utf-8" http-equiv="Content-Type"/>

If you delete the first one, everything is okay.

I've seen, that the epub was generated by Calibre. Somebody else reported the same problem with another epub which is located at Mobileread: https://www.mobileread.com/forums/showthread.php?t=62489

I don't know if this duplicate meta tags occur because the creator made an error or if this is an error of Calibre itself. I'll post this at the Calibre thread and will see, what they say.
mikelv is offline   Reply With Quote
Old 12-10-2009, 12:34 PM   #9
mrmikel
Color me gone
mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.
 
Posts: 2,089
Karma: 1445295
Join Date: Apr 2008
Location: Central Oregon Coast
Device: PRS-300
gibberish

Mike,

He might want to use the format of the first line but sub in the utf-8 if the epub is to be used on a device that is not web connected. My 505 would not be able to use the information since it can not get on the web.

But if it is only for a web connected device no problem.
mrmikel is offline   Reply With Quote
Old 12-10-2009, 12:56 PM   #10
mikelv
Developer of EPUBReader
mikelv once ate a cherry pie in a record 7 seconds.mikelv once ate a cherry pie in a record 7 seconds.mikelv once ate a cherry pie in a record 7 seconds.mikelv once ate a cherry pie in a record 7 seconds.mikelv once ate a cherry pie in a record 7 seconds.mikelv once ate a cherry pie in a record 7 seconds.mikelv once ate a cherry pie in a record 7 seconds.mikelv once ate a cherry pie in a record 7 seconds.mikelv once ate a cherry pie in a record 7 seconds.mikelv once ate a cherry pie in a record 7 seconds.mikelv once ate a cherry pie in a record 7 seconds.
 
Posts: 269
Karma: 1922
Join Date: Oct 2009
Device: none
Quote:
Originally Posted by mrmikel View Post
Mike,

He might want to use the format of the first line but sub in the utf-8 if the epub is to be used on a device that is not web connected. My 505 would not be able to use the information since it can not get on the web.

But if it is only for a web connected device no problem.
Thanks for your posting!

In the following I've posted an example of the text which can be found in the content pages:

We’ve all heard the Spider-Man saying “...

As you can see, there are many wired characters which are not part of the latin-1 characterset (iso-8859-1). So the first content-meta-tag is in my opinion wrong and should be deleted.

Perhaps I misunderstood your point. If so, it would be great if you could explain it again .
mikelv is offline   Reply With Quote
Old 12-10-2009, 02:33 PM   #11
mikelv
Developer of EPUBReader
mikelv once ate a cherry pie in a record 7 seconds.mikelv once ate a cherry pie in a record 7 seconds.mikelv once ate a cherry pie in a record 7 seconds.mikelv once ate a cherry pie in a record 7 seconds.mikelv once ate a cherry pie in a record 7 seconds.mikelv once ate a cherry pie in a record 7 seconds.mikelv once ate a cherry pie in a record 7 seconds.mikelv once ate a cherry pie in a record 7 seconds.mikelv once ate a cherry pie in a record 7 seconds.mikelv once ate a cherry pie in a record 7 seconds.mikelv once ate a cherry pie in a record 7 seconds.
 
Posts: 269
Karma: 1922
Join Date: Oct 2009
Device: none
Quote:
Originally Posted by mikelv View Post
I've seen, that the epub was generated by Calibre. Somebody else reported the same problem with another epub which is located at Mobileread: https://www.mobileread.com/forums/showthread.php?t=62489
I asked the creator of the epub I mentioned above, why he uses two content metatags with different charactersets. Here is his answer:

"I converted the html from iso to utf and didn't have a look at it again as I thought the first content meta tag was automatically gone. I'm gonna change that!"

I guess this is exactly the same what happened to the epub brendanl mentioned and in this case the first meta tag should also be removed.
mikelv is offline   Reply With Quote
Old 12-11-2009, 05:12 AM   #12
mrmikel
Color me gone
mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.
 
Posts: 2,089
Karma: 1445295
Join Date: Apr 2008
Location: Central Oregon Coast
Device: PRS-300
Sorry I wasn't clear

In creating books for my PRS505 I try to eliminate all web references, since it can't reach out to the web. That was why I was suggesting using the second, but changing it to utf-8. But it probably doesn't make any difference since I don't think it actually go to the web to access the encoding. It was more a general idea about creating all purpose epubs than a remark about his particular case since his device is web connected anyway so doing as you suggest solves his problem.
mrmikel is offline   Reply With Quote
Reply

Tags
utf-8

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Integrate Mobileread Books into EPUBReader ghostyjack EPUBReader 1 08-11-2010 03:48 AM
EPUBReader on Tablet PC tgeek EPUBReader 0 04-28-2010 12:22 PM
EPUBReader doesn't find the CSS file? paulpeer EPUBReader 8 03-23-2010 02:45 PM
Can EPUBReader run standalone? ericshliao EPUBReader 6 11-19-2009 04:17 AM


All times are GMT -4. The time now is 04:50 AM.


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