| 
			
			 | 
		#31 | 
| 
			
			
			
			 Color me gone 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,089 
				Karma: 1445295 
				Join Date: Apr 2008 
				Location: Central Oregon Coast 
				
				
				Device: PRS-300 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			Calibre takes nbsp and turns it into A0! 
		
	
		
		
		
		
		
		
		
		
		
		
	
	Since nbsp makes headaches in Sigil, I am not surprised it causes problems in Calibre. At the fantastic rate this editor has come into being, it is not surprising there are a few problems.  | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#32 | 
| 
			
			
			
			 Wizard 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,251 
				Karma: 3720310 
				Join Date: Jan 2009 
				Location: USA 
				
				
				Device: Kindle, iPad (not used much for reading) 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			<p class"something"> is invalid HTML.  It should be <p class="somthing">.
		 
		
	
		
		
		
		
		
		
		
		
		
		
	
	 | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#33 | |
| 
			
			
			
			 null operator (he/him) 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 22,018 
				Karma: 30277294 
				Join Date: Mar 2012 
				Location: Sydney Australia 
				
				
				Device: none 
				
				
				 | 
	
	
	
		
		
		
		
		 Quote: 
	
 @mrmikel - sorry, I misinterpreted your comment as meaning 'non breaking spaces' should be removed irrespective of their representation - hence 'banished'. I don't care if its represented by  , #160, an A0, or a cube of sugar - as long as I can 'see' it when I'm reading the book. BR Last edited by BetterRed; 12-29-2013 at 07:01 PM. Reason: move Off Topic paragraphs  | 
|
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#34 | 
| 
			
			
			
			 Dead account. Bye 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 587 
				Karma: 668244 
				Join Date: Mar 2011 
				
				
				
				Device: none 
				
				
				 | 
	
	
	
		
		
		
		
		![]() ![]() ![]() ![]() ![]() ![]() ![]() Hey guys, please let's stay focused or nobody (Kovid less than anyone else) is going to pay attention to the POSSIBLE BUG posted in the thread: 
  | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#35 | 
| 
			
			
			
			 Wizard 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 3,720 
				Karma: 1759970 
				Join Date: Sep 2010 
				
				
				
				Device: none 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			good points. 
		
	
		
		
		
		
		
		
		
		
		
		
	
	For the record I tested twice, once before starting the thread then again after jackie posted her method. I gave my detailed steps already, for both sigil & calibre. my current hypothesis is that when you use windows copy + paste, calibre pre-processes the paste & changes the code on the invisible character(s), but does not do that we you pre-select & then open FIND. then it can still be true that both S&R work in the very same way. The "bug" or difference is to do with inconsistencies in the various ways in which you can populate the find box with a string containing an invisible character I have returned & deleted the original library book now but there is still the extract which I attached several posts back, if anyone wishes to continue testing.  | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#36 | 
| 
			
			
			
			 US Navy, Retired 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 9,897 
				Karma: 13806776 
				Join Date: Feb 2009 
				Location: North Carolina 
				
				
				Device: Icarus Illumina XL HD, Kindle PaperWhite SE 11th Gen 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			Did you try every step with the extract?  Because using the extract it made no difference which way I populated F&R it didn't work.
		 
		
	
		
		
		
		
		
		
		
		
		
		
	
	 | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#37 | 
| 
			
			
			
			 Addict 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 206 
				Karma: 547516 
				Join Date: Mar 2008 
				Location: Berlin, Germany 
				
				
				Device: KObo Clara, Kobo Aura, PRS-T1, PB602, CyBook Gen3 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			I did try to reproduce the issue and found the following. 
		
	
		
		
		
		
		
		
		
		
		
		
		
			OS: Windows 8 64bit Calibre: portable 1.17 I can populate the 'find' field by either Ctrl + f or by Ctrl + c & Ctrl + v and the copied string contains the nbsp and the search is successful. If I copy the string by right click and 'copy', the nbsp goes missing and is replaced by a normal space. This is also visible by leaving the search out of the equation and pasting into the code itself. With the first way of copying, the nbsp will be marked as the others are. With the second method there is no mark. Pasting into another application will show the same result. Existing nbsp with keyboard action, normal space with right click copying. Using the 'copy' function in another application and pasting into ebook-edit does not lose the nbsp. Last edited by Sunlite; 12-30-2013 at 08:33 AM. Reason: spelling  | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#38 | |
| 
			
			
			
			 Dead account. Bye 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 587 
				Karma: 668244 
				Join Date: Mar 2011 
				
				
				
				Device: none 
				
				
				 | 
	
	
	
		
		
		
		
		 Quote: 
	
 Right-Click & either Copy or Cut converts the Non-Breaking Space into a common one. 
 So it really seems the issue is in the Copy (Cut) function. You should post it in the Calibre Bugtracker.  | 
|
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#39 | 
| 
			
			
			
			 Wizard 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 3,720 
				Karma: 1759970 
				Join Date: Sep 2010 
				
				
				
				Device: none 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			well done guys - I used right click mouse menu for copy / paste so the above conclusions are consistent with my original experience/ thread starter. will someone who knows exactly how to explain this for Kovid do the bug tracker report please
		 
		
	
		
		
		
		
		
		
		
		
		
		
	
	 | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#40 | 
| 
			
			
			
			 Well trained by Cats 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 31,267 
				Karma: 61916422 
				Join Date: Aug 2009 
				Location: The Central Coast of California 
				
				
				Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A 
				
				
				 | 
	
	
	
		
		
			
			 
			
			Great find 
		
	
		
		
		
		
		
		
		
		
		
		
	
	I almost always use the keyboard methods for S&R so I never saw that issue.  | 
| 
		
 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#41 | |
| 
			
			
			
			 Wizard 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 3,720 
				Karma: 1759970 
				Join Date: Sep 2010 
				
				
				
				Device: none 
				
				
				 | 
	
	
	
		
		
		
		
		 Quote: 
	
 the most amusing thing about this, in hindsight, is that the book in question was truly awful  
		 | 
|
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#42 | 
| 
			
			
			
			 creator of calibre 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,609 
				Karma: 28549044 
				Join Date: Oct 2006 
				Location: Mumbai, India 
				
				
				Device: Various 
				
				
				 | 
	
	|
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#43 | 
| 
			
			
			
			 Dead account. Bye 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 587 
				Karma: 668244 
				Join Date: Mar 2011 
				
				
				
				Device: none 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			A possible related issue (or not) 
		
	
		
		
		
		
		
		
		
		
		
		
	
	  (in unicode flavour) and normal spaces are not distinguished in the autocompletion dropdown menu in the Find/Search text box. I mean, in the book I'm reading (Infinite Jest) there are some possessive "’s" for "commented" texts. Let's say "‘Cheers!’ ’s". And I've wanted to change that space in the middle by a   (in unicode flavour). But while typing "’ ’" (through copy/paste, and the GOOD copy/paste through keyboard shortcuts  ), the dropdown menu has offered my previous typed "’ ’" with just a normal space. Is this to be expected? Can it be filtered?And another small possible enhancement. Would it be possible to translate the colours used in the editor to that dropdown previous searched/replaced string matches? I mean there's no way to tell the difference between space types in that dropdown lists.  | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#44 | |
| 
			
			
			
			 Grand Sorcerer 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 11,470 
				Karma: 13095790 
				Join Date: Aug 2007 
				Location: Grass Valley, CA 
				
				
				Device: EB 1150, EZ Reader, Literati, iPad 2 & Air 2, iPhone 7 
				
				
				 | 
	
	
	
		
		
		
		
		 Quote: 
	
 Dale Dale  | 
|
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
![]()  | 
            
        
            
            
  | 
    
			 
			Similar Threads
		 | 
	||||
| Thread | Thread Starter | Forum | Replies | Last Post | 
| Nook Simple Touch Glowlight - technological issue or quality-control issue? | Dr. Drib | Barnes & Noble NOOK | 1 | 12-04-2012 02:32 PM | 
| Regex Find and Replace - Spaces | essayhead | Sigil | 2 | 08-10-2012 08:41 PM | 
| Hyperlinks Issue in NLT Bible (ebook or software issue)? | myet01 | Kobo Reader | 5 | 07-29-2011 09:47 AM | 
| RegEx: Removing Page Numbers that have Spaces | captainslow | Conversion | 2 | 02-27-2011 05:14 PM | 
| regex Issue when Importing | river | Calibre | 3 | 06-16-2009 12:03 PM |