|
|
#1 |
|
Junior Member
![]() Posts: 2
Karma: 10
Join Date: Nov 2012
Device: Kobo Touch
|
French text in Code View
"président". The consequence of this is that the spellchecker will red underline the word although there is no spelling mistake; and there are so many occurence of this that the spellcheck becomes useless. What disturb me is that it seems that there is no rule to determine such different behaviours; and it happens that the same file appears normal in one session and different in the next. Can somebody can explain this to me, and may be, give a me way of being sure that the "normal" behavious will be selected. Thanks for your help
|
|
|
|
|
|
#2 |
|
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,042
Karma: 416729
Join Date: Jan 2009
Device: KoboGlo
|
Bonjour
This is what I see in code view with Sigil 0.6. So, I presume you are doing something wrong? See attachment below. |
|
|
|
|
Enthusiast
|
|
|
|
#3 |
|
Sigil & calibre developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,384
Karma: 848775
Join Date: Jan 2009
Location: Florida, USA
Device: Nook STR
|
Why not just write président instead of président? A valid epub must be utf-8 or utf-16 encoded which encompasses all characters in the French alphabet. As long as the reader has a font supporting French characters there should be no issue with using the characters themselves instad of the entities. That said if they don't have a font with French characters installed the entities shouldn't display properly either.
|
|
|
|
|
|
#4 |
|
eBook Enthusiast
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 54,661
Karma: 26165759
Join Date: Nov 2006
Location: UK
Device: Kindle Touch, PW, Fire HD, iPad 3, iPhone 4, Samsung Tab 2 7 + More
|
The most common reasons for using entities rather than Unicode characters are:
__________________
Harry Currently proofreading The Poison Belt, by Sir Arthur Conan Doyle. |
|
|
|
|
|
#5 |
|
Sigil & calibre developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,384
Karma: 848775
Join Date: Jan 2009
Location: Florida, USA
Device: Nook STR
|
All very good and valid reasons but they don't really apply in this situation... I would hope the character é would be relativity easy for a French Speaker (presumably using a French keyboard) to type.
|
|
|
|
|
|
#6 |
|
eBook Enthusiast
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 54,661
Karma: 26165759
Join Date: Nov 2006
Location: UK
Device: Kindle Touch, PW, Fire HD, iPad 3, iPhone 4, Samsung Tab 2 7 + More
|
I agree, but it can be quicker to type the entity than to copy and paste the accented letter from the Windows "character map" accessory if one is using an English-language keyboard and you need to use an accented letter. Not that that would apply to the OP, of course, but as a general principle.
__________________
Harry Currently proofreading The Poison Belt, by Sir Arthur Conan Doyle. |
|
|
|
|
|
#7 |
|
Sigil developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,261
Karma: 1101600
Join Date: Jan 2011
Location: UK
Device: Kindle PW, K4 NT, K3, Kobo Touch
|
One approach is to just convert all your entities to characters, do the spell check, and then convert them back to entities if needed. Of course, you don't have to do this by hand with 0.6.0 - you can create a Saved Searches group to do it for you. The examples included have a group with several of the blank space to show how it can be done.
It takes a bit to enter them, but do it once and its done - and if you export the group to a .ini file you can share it for others to use. A list like this could be scripted - maybe something I'll look into - the issue is deciding what lists to use (seems like 'everything' is needed, grouped appropriately). There's also a request to add all special characters to the special characters dialog so an external character map wouldn't be necessary, but that may or may not get done.
__________________
See the Sigil User Guide and its tutorials for details about Sigil. |
|
|
|
|
|
#8 |
|
Staff to 4 Cats
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 10,712
Karma: 2485850
Join Date: Aug 2009
Location: The (original) Silicon Valley, USA
Device: Galaxy Tab 2,Black Astak PEz, K4NT(now Wifes)
|
replacing entities should be fairly simple using the new (Sigil 6) 'Insert Special Characters' in conjunction with Search and replace.
If this is frequent, add those to the ones already in the Saved search list
__________________
Using: Ubuntu(32 bit):Oneric,Precise and XPpro SP3, W7HP(64)- - Libre Office w/Writer2EPUB
|
|
|
|
![]() |
| Tags |
| code view, french language |
| Thread Tools | Search this Thread |
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Enter text in Book View or Code View | ronaldl | Sigil | 5 | 10-29-2012 03:12 PM |
| replace in book view changes view to code view | cybmole | Sigil | 4 | 10-28-2012 01:20 PM |
| Sigil highlight Book View No Longer Shows in Code View | Themus | Sigil | 4 | 10-04-2012 07:54 PM |
| quotes differences book view & code view | cybmole | Sigil | 13 | 03-29-2011 01:53 AM |
| lock book view & code view windows into synch | cybmole | Sigil | 5 | 01-19-2011 10:30 PM |