08-15-2010, 12:51 AM | #1 |
Enthusiast
Posts: 41
Karma: 10
Join Date: Jul 2010
Device: Kindle
|
Export from Indesign = strange characters
I've exported from InDesign to an HTML file (see below for an example). But rather than HTML codes (like & I'm getting what I *believe* to be some weird postscripting code (just based on a Google search).
It does *appear* to display correctly in the finished product -- but again, I'm always worried that somewhere, some reader will cough on it producing garbage. The problem with search and replace in the source Indesign document to something more conventional, is that I have to go with straight quotes (blah). Any idea why this is happening? <p class="body-indent-">I don’t eat much and I go up to my room early to Facebook. My friends are all here on my computer. No one talks about the video. We know the rules. But no one knows what they’re supposed to write in their notebooks. Mr. Sorent handed us special-lesson composition notebooks that he wants us to decorate. We’re supposed to write down diary entries or essays or stories or doodles or anything we’re moved to do after reflecting upon the lesson. My notebook is open but empty, a pen lying in the spine. I’ve tried to write something, but there’s nothing, and I get that afraid-of-the-future feeling again.</p> |
08-15-2010, 07:59 PM | #2 |
Booklegger
Posts: 1,801
Karma: 7999816
Join Date: Jun 2009
Location: Toronto, Ontario, Canada
Device: BeBook(1 & 2010), PEZ, PRS-505, Kobo BT, PRS-T1, Playbook, Kobo Touch
|
It looks to me like InDesign is outputting UTF-8 Unicode, but your reader/editor doesn't understand UTF-8, so it is treating it as (perhaps) some MS code page. I always have to use a hex-dump to check that, just to be absolutely sure. Mostly I use gedit in Linux, which understands Unicode in most of its variations. -- UTF-8 is required by the epub standard, so it would be good to have an editor which understands UTF-8...
|
Advert | |
|
08-15-2010, 09:39 PM | #3 | |
Enthusiast
Posts: 41
Karma: 10
Join Date: Jul 2010
Device: Kindle
|
Quote:
But am I understanding correctly that you're saying that UTF-8 does work with Epub? |
|
08-16-2010, 07:49 AM | #4 |
Wizard
Posts: 1,196
Karma: 1281258
Join Date: Sep 2009
Device: PRS-505
|
Use Notepad++ to edit the html and it will usually recognise the utf-8 encoding automatically.
Using anything other than utf-8 (or -16) at any point is a bad, bad, bad, bad, bad, bad, bad idea when dealing with epubs, don't even think about using the older and more limited codings. |
08-16-2010, 08:48 AM | #5 | |
Booklegger
Posts: 1,801
Karma: 7999816
Join Date: Jun 2009
Location: Toronto, Ontario, Canada
Device: BeBook(1 & 2010), PEZ, PRS-505, Kobo BT, PRS-T1, Playbook, Kobo Touch
|
Quote:
|
|
Advert | |
|
08-16-2010, 11:19 AM | #6 | |
Enthusiast
Posts: 41
Karma: 10
Join Date: Jul 2010
Device: Kindle
|
Quote:
This document, even with ’ as an apostrophe, and “ as a right quote, displays just fine as HTML, Epub, and as a Mobi. So just leave it in? Doing a search and replace -- I'm always hesitant to do that on a document-wide basis because I never know what weird exception I'm going to get buried in the text. |
|
08-16-2010, 04:17 PM | #7 |
Booklegger
Posts: 1,801
Karma: 7999816
Join Date: Jun 2009
Location: Toronto, Ontario, Canada
Device: BeBook(1 & 2010), PEZ, PRS-505, Kobo BT, PRS-T1, Playbook, Kobo Touch
|
Leave it it... it's only your editor/viewer that is having problems.
For more background on UTF-8, I recommend you start with the first two sections of the Wikipedia article - I'd miss something if I tried to summarize it. |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Non-alpha characters not exporting properly to ePub from InDesign | forlor | ePub | 9 | 07-12-2013 02:02 AM |
Export to ePub from InDesign CS5 | gardefjord | ePub | 42 | 10-29-2011 10:42 AM |
InDesign direct export to mobi | Adjust | Kindle Formats | 14 | 11-21-2010 02:36 PM |
EPUB Expert Needed: Cant properly export epub from InDesign | crottmann | ePub | 17 | 08-27-2010 10:23 AM |
strange characters | jomaweb | Calibre | 0 | 01-27-2010 06:10 AM |