Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Sigil

Notices

Reply
 
Thread Tools Search this Thread
Old 06-08-2018, 07:05 AM   #1
Abrakadabra77
Junior Member
Abrakadabra77 began at the beginning.
 
Posts: 7
Karma: 10
Join Date: Mar 2014
Device: Kobo Touch
How find and replace non-printable characters -zwnj and zwj?

Hey
I am struggling with such a problem:
In the file I have a non-printable characters - zwnj and zwj
They do not see them in the html code but I know they are there
Raport counts them
I need a way to precisely determine where in the text they are.
Searching with regex = \ u200D does not give a result
Thanks in advance
Attached Files
File Type: epub test.epub (1.8 KB, 117 views)
Abrakadabra77 is offline   Reply With Quote
Old 06-08-2018, 08:04 AM   #2
Doitsu
Grand Sorcerer
Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.
 
Doitsu's Avatar
 
Posts: 5,584
Karma: 22735033
Join Date: Dec 2010
Device: Kindle PW2
Since Sigil uses PCRE, you'll have to use the following expessions:

Code:
\x{200D}
\x{200C}
If you want to replace all occurrences with entities check out DiapDealer's ShadyCharacters plugin.
Doitsu is offline   Reply With Quote
Old 06-08-2018, 08:28 AM   #3
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: 27,547
Karma: 193191846
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
You could also add those two entities to the Preserve Entities list in Sigil's preferences. Then after a save, those characters will be converted to entities. It's just a matter of normal Find and Replace after that.
DiapDealer is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
How to replace characters in title mariaclaudia Calibre 5 03-29-2018 10:30 PM
Find and replace replacement characters - box with question mark CynthiaBlue Conversion 11 07-18-2015 12:31 AM
Recipe turning some punctuation marks as non-printable characters knowledgecrawler Recipes 4 08-20-2014 11:47 PM
Search and Replace Unicode characters during conversion marcbook Conversion 0 02-09-2014 01:37 PM
Find/Replace Won't Find Rand Brittain Sigil 7 09-24-2011 04:35 AM


All times are GMT -4. The time now is 07:05 AM.


MobileRead.com is a privately owned, operated and funded community.