Closed olivierkorner closed 8 years ago
Hello @olivierkorner yes please, send me the EPUB via email. Thanks!
@olivierkorner Can you share the book with us? Is the font embedded in the EPUB or is it being loaded from the system?
@olivierkorner where is the EPUB file? (missing attachment?)
I am able to reproduce this bug in OSX. I will look into it.
I also reproduced on iOS and OSX but it is NOT present in the Chrome Extension (2.22.2). I'll try Android next, just to see,
The problem does not occur with the current (0.23-alpha) build on Android using my Nexus 7 with Marshmallow.
Thank you @olivierkorner for your tip about <meta charset="UTF-8">
in reader.html (single, multiple RequireJS bundles etc.)
I verified other potential causes for the encoding mismatch, to no avail. Your simple trick works in OSX (I haven't tried iOS, but it looks like you checked yourself).
@danielweck Yes, tested on iOS
Thank you for this post!! Fixed for me on iOS too.
Addressed in Android too, to prevent future issues because of the missing meta UTF8 charset tag: https://github.com/readium/SDKLauncher-Android/commit/49734b29238c969c21643d80aeee05e36ba1035a
Non-ASCII characters are rendered wrong, as if UTF-8 file was read as Latin-1. I can provide a book for testing (by email olivierkorner@artbookmagazine.com).
The book is displayed correctly Chrome. Adding
<meta charset="UTF-8">
to the reader html file seems to solve the problem though...