04-10-2009, 02:51 PM | #1 |
Junior Member
Posts: 8
Karma: 10
Join Date: Mar 2009
Location: Berlin, Germany
Device: Sony PRS-505
|
Simple Esperanto ePub conversion script?
I recently noticed that the Sony Reader PRS-505 does not support the following Esperanto characters: ĉĝĥĵŝŭĈĜĤĴŜŬ. They just show up as question marks!
Anyway I'd like to have a script to be able to auto-convert these letters either by adding h to them, so ĉ would become ch, ĝ -> gh, and ŭ -> u. What would be the easiest way to write a script to do this? Could I write a plug-in for Calibre? Is there an easy way to load an ePub file into a free [Mac] editor and just run a global search and replace on the entire file? I'm really frustrated the PRS-505 doesn't have true unicode support. Thanks for any direction you can give me into how to go about this! |
04-10-2009, 03:26 PM | #2 |
frumious Bandersnatch
Posts: 7,536
Karma: 19000001
Join Date: Jan 2008
Location: Spaniard in Sweden
Device: Cybook Orizon, Kobo Aura
|
That's probably missing characters in the default font (Unicode is huge, don't expect any font to support all Unicode characters). I believe you can change the font in the Sony, that would be better than modifying the text.
By the way, modifying the text once the contents of the ePUB are unzipped would be fairly easy with any text editor or unix utilities such as tr. |
Advert | |
|
04-10-2009, 06:37 PM | #3 |
Wizzard
Posts: 1,402
Karma: 2000000
Join Date: Nov 2007
Location: UK
Device: iPad 2, iPhone 6s, Kindle Voyage & Kindle PaperWhite
|
If the book's an un DRMed ePub, it's relatively trivial to set it to use alternative fonts via CSS.
|
04-10-2009, 07:04 PM | #4 |
Junior Member
Posts: 8
Karma: 10
Join Date: Mar 2009
Location: Berlin, Germany
Device: Sony PRS-505
|
|
04-11-2009, 04:27 AM | #6 |
frumious Bandersnatch
Posts: 7,536
Karma: 19000001
Join Date: Jan 2008
Location: Spaniard in Sweden
Device: Cybook Orizon, Kobo Aura
|
ePUB files are just zip files. Unzip it with Winzip or similar and you'll see the contents. When zipping back the files (if you do that) the only thing you have to consider is that the "mimetype" file has to be first in the archive, and stored with no compression.
|
04-11-2009, 05:25 AM | #7 |
eBook Enthusiast
Posts: 85,544
Karma: 93383043
Join Date: Nov 2006
Location: UK
Device: Kindle Oasis 2, iPad Pro 10.5", iPhone 6
|
If these files are just for personal use, your other option would be to change the fonts on your Sony Reader for fonts which do include the "central European" characters that Esperanto uses. Instructions for doing that are in the Sony Reader forum.
|
04-11-2009, 05:31 AM | #8 | |
Resident Curmudgeon
Posts: 76,487
Karma: 136564766
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Quote:
https://www.mobileread.com/forums/showthread.php?t=36361 |
|
04-11-2009, 05:51 AM | #9 |
eBook Enthusiast
Posts: 85,544
Karma: 93383043
Join Date: Nov 2006
Location: UK
Device: Kindle Oasis 2, iPad Pro 10.5", iPhone 6
|
Thank you, Jon.
|
04-11-2009, 06:22 AM | #10 |
Resident Curmudgeon
Posts: 76,487
Karma: 136564766
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
|
03-06-2010, 03:54 PM | #11 |
Zealot
Posts: 147
Karma: 56
Join Date: Dec 2009
Location: Antwerpen
Device: iPhone, Sony PRS-505, EPUBreader
|
Have you already solved your problem? I've made many ePubs in Esperanto, and probably will be able to help you. Bonvenon!
|
Tags |
epub, esperanto, prs-505, sony, unicode |
Thread Tools | Search this Thread |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Script for converting ePUB to PDF using Prince | Jellby | ePub | 44 | 03-03-2015 04:21 PM |
Tweak epub and Simple CSS Editor | Shadowman123 | Calibre | 11 | 09-30-2010 11:07 AM |
Import ebook conversion in python script | erollisi | Calibre | 1 | 08-19-2010 10:43 PM |
conversion script | JeffElkins | Calibre | 2 | 03-28-2009 04:06 AM |
Simple Script to move content to CF Card (works around WLAN - CF Performance Bug) | torben | iRex | 0 | 12-03-2008 03:45 AM |