View Single Post
Old 07-11-2023, 11:22 AM   #139
DiapDealer
Grand Sorcerer
DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.
 
DiapDealer's Avatar
 
Posts: 28,729
Karma: 205159604
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
Quote:
Originally Posted by jeff47 View Post
I might be old and out-of-touch, but I was surprised that this plugin didn't use the HTML entities. (eg, ‘ or &mdash. Wouldn't that be more portable and compliant with the html/xhtml format?
Sigil itself doesn't preserve html entities, unless you add the ones you want to preserve in Sigil's preferences. Otherwise, it will convert all entities (but a few that are always allowed in xml) to unicode chars.

The plugin, however, does give you the option of checking/unchecking "Use Unicode Characters" depending on which you prefer. Unchecked would use entities (the plugin only uses numerical plugins, though). But unless you have Sigil itself configured to preserve those entities, they could still be converted to unicode characters later.

And no... entities are no more portable or compliant then unicode characters. The same unicode glyphs must be present in the font files used in order to properly render them, regardless. EPUB3's HTML5 doesn't recognize entities other than the required few to remain spec compliant.

Last edited by DiapDealer; 07-11-2023 at 11:37 AM.
DiapDealer is online now   Reply With Quote