progit / progit2

Pro Git 2nd Edition
Other
5.69k stars 1.88k forks source link

Declare UTF8 encoding to make EPUB format better for Kindle #1834

Open ralfbergs opened 1 year ago

ralfbergs commented 1 year ago

General overview of your idea.

I think it would help to declare UTF8 encoding to make EPUB format better for Kindle users.

I noticed that when I uploaded the EPUB version to my Kindle (MOBI no longer supported by "Send to Kindle" since AUG-2022!), all the umlaut and other special characters were "broken". It was immediately clear to me that the encoding seemed to be incorrect.

When I used this WebApp to fix the file, it was perfectly readable on my Kindle. What it does is "add[...] UTF-8 declaration if no encoding is specified."

What problem will this solve?

Umlaut and other special characters appear "broken" on Kindle readers, hard or even impossible to decipher (if you can't guess from the context what a certain character should be).

Have you thought about other solutions?

I'm not familiar with this technology, so I can't think of any other solutions.

Do you want to help with this enhancement idea?

Yes

slonopotamus commented 5 months ago

This should be fixed in https://github.com/asciidoctor/asciidoctor-epub3/pull/424