![]() |
#1 |
Junior Member
![]() Posts: 5
Karma: 10
Join Date: Dec 2014
Location: Portland, OR
Device: Kindle
|
![]()
I'm creating a Kindle eBook file that's a translation of Sanskrit texts to English. The text uses a number of letters with diacritical marks, all of which are standard Unicode characters.
When I create a Kindle .mobi file, the file passes validation, displays correctly in Amazon's Kindle Previewer, and works fine on Kindle devices and on the Mac Kindle software. However, the diacritic marks do not appear on the Windows Kindle reader. And *only* on the Windows Kindle reader. Characters such as "ḍ" (d with a dot under it) appear as boxes. I'm completely stumped. The file is not using any special or unusual fonts, and like I said, it passes validation just fine. It's only Windows that's giving me grief. Any ideas? |
![]() |
![]() |
![]() |
#2 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,251
Karma: 3720310
Join Date: Jan 2009
Location: USA
Device: Kindle, iPad (not used much for reading)
|
Make sure that it is cooectly encoded for UTF-8, and declared as such in the file.
|
![]() |
![]() |
Advert | |
|
![]() |
#3 | |
Junior Member
![]() Posts: 5
Karma: 10
Join Date: Dec 2014
Location: Portland, OR
Device: Kindle
|
Quote:
<?xml version='1.0' encoding='utf-8'?> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en"> which I assume is correct. Is that the case? |
|
![]() |
![]() |
![]() |
#4 |
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 79,741
Karma: 145864619
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Sometimes you have to add in
Code:
<meta content="http://www.w3.org/1999/xhtml;charset=utf-8" http-equiv="Content-Type"/> |
![]() |
![]() |
![]() |
#5 |
Junior Member
![]() Posts: 5
Karma: 10
Join Date: Dec 2014
Location: Portland, OR
Device: Kindle
|
Thanks for the suggestion. I've tried that, and the results are the same: the file views correctly everywhere except Kindle for Windows, where the accented characters don't display correctly.
I've also tried replacing the accented characters with their HTML entities, with the same results: works on Mac and Kindle devices, doesn't render properly on Windows. |
![]() |
![]() |
Advert | |
|
![]() |
#6 |
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 79,741
Karma: 145864619
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Try embedding the following fonts...https://www.mobileread.com/forums/sho...d.php?t=184056. It could be the font used doesn't have those characters.
Last edited by JSWolf; 07-17-2016 at 04:20 PM. Reason: Fixed markup |
![]() |
![]() |
![]() |
#7 | |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 5,727
Karma: 24031401
Join Date: Dec 2010
Device: Kindle PW2
|
Quote:
Depending on how you coded the d with a dot below, you could try the following: 1. If you used a pre-combined letter (U+1E0D), try to code it as a regular d followed by combining dot below (U+0323). 2. If you used a d followed by a combining dot below try a precombined letter. If none of my suggestions makes a difference, you or your readers will need to fiddle with the Windows system fonts. The Kindle uses an old shareware font, code2000.ttf, for all characters not present in the default system fonts. This font is located in the \AppData\Local\Amazon\Kindle Previewer\lib folder, which you can access by copying and pasting the following path in the Windows Run dialog box: Code:
"%LOCALAPPDATA%\Amazon\Kindle Previewer\lib" |
|
![]() |
![]() |
![]() |
#8 | |
Junior Member
![]() Posts: 5
Karma: 10
Join Date: Dec 2014
Location: Portland, OR
Device: Kindle
|
Quote:
It appears there are some Unicode characters that simply aren't present in the font that Kindle for Windows uses, and there's no way around that other than using a different font. Thanks! |
|
![]() |
![]() |
![]() |
#9 | |
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 79,741
Karma: 145864619
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Quote:
|
|
![]() |
![]() |
![]() |
#10 |
Junior Member
![]() Posts: 5
Karma: 10
Join Date: Dec 2014
Location: Portland, OR
Device: Kindle
|
I've downloaded that typeface and will take a look at it. Thanks!
|
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Windows 7 problems ? | carpetmojo | Sony Reader | 5 | 08-02-2012 09:03 AM |
Problems with Kindle book sample and preview file. Ideas? | tinder_box | Kindle Formats | 0 | 02-27-2012 10:28 AM |
Problems with 0.7.15 (Windows/7) | cloggy | Calibre | 7 | 08-22-2010 03:05 PM |
Kindle Global file copying problems | johnes | Amazon Kindle | 3 | 11-16-2009 02:58 AM |
Problems going from Mac to Windows | Fossil | Calibre | 3 | 05-13-2009 07:00 AM |