Rainie3535 / sigil

Automatically exported from code.google.com/p/sigil
GNU General Public License v3.0
0 stars 0 forks source link

Possibility to choose Unicode character code or the actual character #1276

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Read the ReportingIssues wiki page before submitting!

I am preparing an ebook with a lot of Sanskrit diacritics.
unfortunately they tend not to come out on ereaders (even the latest android 
tablets). One possible workaround is to have in the xhtml files the unicoe 
character code rather than the actual character itself 
(http://blogs.metaplume.com/2011/11/15/diacritics-in-ebooks-problem-solved/).
I have been trying to do search and replace with Sigil, from the code view, but 
as soon as I do the replace all (for example "ā" replacing "ā") I get 
again the "ā" as if Sigil automatically re replaces code with the character, 
even in code view.
Is it by chance a feature?
And if it is, would it be possible to toggle between he active and inactive 
mode, otherwise the code replacement does not work.
Cheers

P.s. diacritics code are here
http://tlt.its.psu.edu/suggestions/international/bylanguage/ipavowels.html 

Original issue reported on code.google.com by aldo.men...@googlemail.com on 18 Feb 2012 at 5:58

GoogleCodeExporter commented 9 years ago
Entities are translated to their unicode equivalent. This is a function of book 
view and exactly what a reader would do. You need to include a font that 
includes the unicode characters you're using. Even using entities instead of 
the characters themselves you will have the same issue without including a font 
that has these characters.

Original comment by john@nachtimwald.com on 18 Feb 2012 at 6:10