I am publishing an HTML page (a book) to Kindle using kdp.amazon.com and I encountered an encoding problem so I added:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd" lang="en">
But I am still having the same problem with characters like
|. Please see the image attached below.