New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Wrong symbol display with certain epubs #4105
Comments
The Primarily it stems from the MuPDF core of HTML as seen slightly different in the MuPDF version on the left, (interesting that Edge does not show anything for Chapter Number) The Raw source HTML as shown in Edge is below. So the title is So basically it is poor AuthorshipWhere for a World Wide Web audience where Plain HTML should look like |
How can I manually modify the text to show what it suppose to? |
Thank you, figured out how to "fix" it: as I've noticed, the main issue is this line in each .xhtml file:
if I switch that iso-8859-1 to utf-8, all good! My question is, what's the deal here, why can't Sumatra (MuPDF) properly display something if its NOT utf-8? |
Iso-8859-1 means it is NOT Unicode and is to be shown as 2 single characters but the expectation in those files was wrong way round so it shows the bad characters as directed by that format, but as single characters their meaning is not ASCII |
SumatraPDF version
Describe the bug
Instead of — symbol, the reader shows them as â��
To Reproduce
Expected behavior
It should properly display the — symbol
File that reproduces the problem
https://pixeldrain.com/u/uoX1M1gU (using this file host because github doesn't allow to directly upload epubs here and also this file host retains the files up to 90 days, so its durable)
Screenshots
Title Page https://i.imgur.com/Qn16Qif.png
Begin Reading segment https://i.imgur.com/WojW3bn.png
Additional context
I noticed a strange  symbol at the beginning of "Begin Reading" bookmark also, that shouldn't be displayed either.
Also tested on other readers, the original symbol is correctly displayed.
The text was updated successfully, but these errors were encountered: