Answers.Body: <p>I don't have the answer to your question. But here's a very helpful resource which lets you test all kinds of characters and if necessary substitute unicode characters </p>
  
  <p><a href="http://freekindlebooks.org/Unicode/unicode.html" rel="nofollow">http://freekindlebooks.org/Unicode/unicode.html</a></p>
  
  <p>Two related articles: <a href="https://timctaylor.wordpress.com/2013/12/23/kindle-support-for-unicode-pt1-dispelling-a-myth/" rel="nofollow">https://timctaylor.wordpress.com/2013/12/23/kindle-support-for-unicode-pt1-dispelling-a-myth/</a> and <a href="https://timctaylor.wordpress.com/2014/02/24/kindle-support-for-unicode-pt2-how-to-use-unicode/" rel="nofollow">https://timctaylor.wordpress.com/2014/02/24/kindle-support-for-unicode-pt2-how-to-use-unicode/</a></p>
  
  <p>I'm guessing that these errors are vestiges of a conversion mistake. (Maybe you pasted it from another web page or a word processed doc).  If you use a text editor, you can highlight the character giving you problems, do a global replace with whatever you can type in your text editor. Both characters may look the same in your text editor, but they may in fact be different characters when rendered in a kindle. (Occasionally these rendering mistakes may even look fine in a web browser -- verify in Firefox (View -> Text Encoding to switch encoding). Hope this helps. </p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2016-04-25T20:28:19.130Z
Answers.LastActivityDate: 2016-04-25T20:28:19.130Z
Answers.UserDisplayName: idiotprogrammer
Body: <p>I am publishing an HTML page (a book) to Kindle using kdp.amazon.com and I encountered an encoding problem so I added:</p>
  
  <pre><code>lang="en"
  </code></pre>
  
  <p>to:</p>
  
  <pre><code>&lt;!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd" lang="en"&gt;
  </code></pre>
  
  <p>and </p>
  
  <pre><code>charset="utf-8"
  </code></pre>
  
  <p>to </p>
  
  <pre><code>&lt;meta charset="utf-8"/&gt;
  </code></pre>
  
  <p>But I am still having the same problem with characters like <code>'</code> or <code>|</code>. Please see the image attached below.</p>
  
  <p><a href="https://i.sstatic.net/pNZRD.png" rel="noreferrer"><img src="https://i.sstatic.net/pNZRD.png" alt="apostrophe displaying incorrectly"></a></p>
  
  <p>(should be <code>it's</code>)</p>
  
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2016-04-26T11:13:50.957Z
Comments.Text: What do you use to edit the file? Some editors (most notably on Windows and OSX just mangle quotes and other special characters into some (arbitrarily slightly nicer looking) unicode codepoint.
Comments.UserDisplayName: Anthon
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2016-04-27T15:40:35.027Z
Comments.Text: Are you testing this using the Kindle reader software? I thought those were pretty common ASCII characters so most fonts should support them. Which font are you using to test this on the ereader software?And are you sure you're using a low-ASCII single quote, and not some extended ASCII single quote? Those are different characters. What's the ASCII decimal value of both of those characters you are having problems with?
Comments.UserDisplayName: Bulrush
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2016-06-28T15:39:00.413Z
Comments.Text: Is the image a screenshot from a reader or your editor?
Comments.UserDisplayName: Nathan Osman
Tags: <kindle><kdp>
Title: Publishing HTML to Kindle - Encoding problem
UserDisplayName: 4m1nh4j1
ThreadText: # Publishing HTML to Kindle - Encoding problem
  
  (Asked by: username_0 on 2016-04-25)
  
  I am publishing an HTML page (a book) to Kindle using kdp.amazon.com and I encountered an encoding problem so I added:
  lang="en"
  
  to:
  
  
  and 
  charset="utf-8"
  
  to 
  
  
  But I am still having the same problem with characters like ' or |. Please see the image attached below.
  
  (should be it's)
  
  **Tags:** kindle, kdp
  
  > **Comments:**
  > **username_1**: What do you use to edit the file? Some editors (most notably on Windows and OSX just mangle quotes and other special characters into some (arbitrarily slightly nicer looking) unicode codepoint.  
  > **username_2**: Are you testing this using the Kindle reader software? I thought those were pretty common ASCII characters so most fonts should support them. Which font are you using to test this on the ereader software?And are you sure you're using a low-ASCII single quote, and not some extended ASCII single quote? Those are different characters. What's the ASCII decimal value of both of those characters you are having problems with?  
  > **username_3**: Is the image a screenshot from a reader or your editor?  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_4 on 2016-04-25. Score: 1
  
  I don't have the answer to your question. But here's a very helpful resource which lets you test all kinds of characters and if necessary substitute unicode characters
  
  <http://freekindlebooks.org/Unicode/unicode.html>
  
  Two related articles: <https://timctaylor.wordpress.com/2013/12/23/kindle-support-for-unicode-pt1-dispelling-a-myth/> and <https://timctaylor.wordpress.com/2014/02/24/kindle-support-for-unicode-pt2-how-to-use-unicode/>
  
  I'm guessing that these errors are vestiges of a conversion mistake. (Maybe you pasted it from another web page or a word processed doc). If you use a text editor, you can highlight the character giving you problems, do a global replace with whatever you can type in your text editor. Both characters may look the same in your text editor, but they may in fact be different characters when rendered in a kindle. (Occasionally these rendering mistakes may even look fine in a web browser -- verify in Firefox (View -> Text Encoding to switch encoding). Hope this helps.
  
  
  ---
  
  