|  03-10-2021, 05:08 AM | #1 | 
| Junior Member  Posts: 2 Karma: 10 Join Date: Mar 2021 Device: calibre | 
				
				Copy/Paste and ZWSP
			 
			
			Hi, I read a technical book with code snippets. Every time I copy a code snippet in my IDE (Rubymine) I have to remove the ZWSP (zero-white-space) from the copied strings. This is annoying. How can I fix it? (I'm under Linux/Ubuntu) Thomas | 
|   |   | 
|  03-10-2021, 06:25 AM | #2 | 
| creator of calibre            Posts: 45,604 Karma: 28548974 Join Date: Oct 2006 Location: Mumbai, India Device: Various | 
			
			Remove the zwsp from the book using the edit book tool.
		 | 
|   |   | 
| Advert | |
|  | 
|  03-12-2021, 01:40 AM | #3 | 
| Junior Member  Posts: 2 Karma: 10 Join Date: Mar 2021 Device: calibre | 
			
			Thank you. I found the tool. Could you give some details how to do it? The book has many pages and I never did use the editor until now. Do I have to edit every single page? How to specify "ZWSP" as the character for replacing?
		 | 
|   |   | 
|  03-12-2021, 07:09 AM | #4 | 
| creator of calibre            Posts: 45,604 Karma: 28548974 Join Date: Oct 2006 Location: Mumbai, India Device: Various | 
			
			You do a search replace you can tell the search replace to run over all files if you like. https://manual.calibre-ebook.com/edit.html And if you want to do it from the command line use the search replace features of ebook-convert | 
|   |   | 
|  | 
| 
 | 
|  Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post | 
| Copy and paste | Alpha o | Calibre | 29 | 05-06-2016 06:28 AM | 
| Copy PAste | Fizzyfi | Calibre | 2 | 04-10-2015 02:55 PM | 
| Copy/Paste | PalingB | Sigil | 10 | 10-15-2014 03:17 PM | 
| Copy and Paste | JDavid | Sigil | 4 | 08-23-2012 04:02 PM | 
| Copy and Paste | Gunnerp245 | enTourage eDGe | 1 | 04-03-2010 02:45 PM |