| 
			
			 | 
		#1 | 
| 
			
			
			
			 Wizard 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 3,720 
				Karma: 1759970 
				Join Date: Sep 2010 
				
				
				
				Device: none 
				
				
				 | 
	
	
	
		
		
			
			 
				
				out of context ? in lit source novel
			 
			
			
			I have a source whcih contains strange ? intermittently e.g. 
		
	
		
		
		
		
		
		
		
		
		
		
		
			" She waved a hand, dismissing my words. "Ech. Don't tell me about a bad day?you should have the kind of bad day I've had." Then she laughed. "Oh, wait?you did." I cannot guess, from contexts, what character(s) these ? are replacing, sometimes they are where I'd expect to see a comma, e.g. " I tore my gaze from that macabre display and scanned the shelves full of bottles?rows and rows of them?that lined the small room." but sometimes there is one at the start of a spoken phrase "Mo ain't got the balls to squash a bug. Me and her got into it right and proper, and I almost had the skinny bitch until she shoved me backward. Then bam?" Caprice smacked her hands together, making me jump. "? out went the lights. Next thing I know, & sometimes there's none at all for 2 - 3 pages. I've tried conversions with thw transliterate unicode box ticked but makes no difference, neither does the smarten punctuation tick box. could they be replacing some sort of font change instruction as they do seem to occur in pairs ? apart from this strange puzzle the source seems to have a full character set, including italics, lots of correct punctuations, some correct usage of ? .... I doubt there's a practical auto-fix - that would require having the original source used to make the .lit, because inside of the .lit source it's just ? characters within the text strings. but can anyone offer an explanation of how these could have gotten into the .lit ? Last edited by cybmole; 10-15-2010 at 09:33 AM.  | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#2 | 
| 
			
			
			
			 Grand Sorcerer 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 12,525 
				Karma: 8065948 
				Join Date: Jan 2010 
				Location: Notts, England 
				
				
				Device: Kobo Libra 2 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			From the examples, I would bet that they were at one point m-dashes (long hyphens). The one after the " would be a strange usage, but I have seen similar when the author wanted to indicate a pause at the beginning of the phrase.
		 
		
	
		
		
		
		
		
		
		
		
		
		
	
	 | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#3 | 
| 
			
			
			
			 Wizard 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 4,004 
				Karma: 177841 
				Join Date: Dec 2009 
				
				
				
				Device: WinMo: IPAQ; Android: HTC HD2, Archos 7o; Java:Gravity T 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			Try setting the character encoding of your source in Look & Feel.  I'd try CP1252.  They may be emdashes or endashes.  You could open the file with a hex editor and look at the hex code for those characters, but trying several different character encodings is easier.
		 
		
	
		
		
		
		
		
		
		
		
		
		
	
	 | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#4 | 
| 
			
			
			
			 Wizard 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 3,720 
				Karma: 1759970 
				Join Date: Sep 2010 
				
				
				
				Device: none 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			thanks guys - the emdashes idea is plausible. 
		
	
		
		
		
		
		
		
		
		
		
		
	
	i don't have the real source -source, I only have the .lit, and in that file they have already become question marks. I'll look for a different format source or sample though, & see if the emdashes idea checks out- thanks  | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#5 | 
| 
			
			
			
			 Evangelist 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 469 
				Karma: 600816 
				Join Date: Sep 2009 
				
				
				
				Device: Kobo Aura HD, Kobo Aura One 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			You can extract the HTML out of the lit file using some utilities. Google convert lit to html.
		 
		
	
		
		
		
		
		
		
		
		
		
		
	
	 | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#6 | |
| 
			
			
			
			 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 
				
				
				 | 
	
	
	
		
		
		
		
		 Quote: 
	
 Unless of course he is using calibre to view the lit file, then it could be a encoding problem because calibre converts the lit to epub for viewing. @cybmole are you using Microsoft Reader to view the source file?  | 
|
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#7 | |
| 
			
			
			
			 Wizard 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 3,720 
				Karma: 1759970 
				Join Date: Sep 2010 
				
				
				
				Device: none 
				
				
				 | 
	
	
	
		
		
		
		
		 Quote: 
	
 I can't convert to .rtf & do the word find & replace all trick as some ? are correct & it would take ages to manually confirm each change  | 
|
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#8 | ||
| 
			
			
			
			 Evangelist 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 469 
				Karma: 600816 
				Join Date: Sep 2009 
				
				
				
				Device: Kobo Aura HD, Kobo Aura One 
				
				
				 | 
	
	
	
		
		
		
		
		 Quote: 
	
 Quote: 
	
  | 
||
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#9 | |
| 
			
			
			
			 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 
				
				
				 | 
	
	
	
		
		
		
		
		 Quote: 
	 | 
|
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#10 | 
| 
			
			
			
			 Wizard 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 3,720 
				Karma: 1759970 
				Join Date: Sep 2010 
				
				
				
				Device: none 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			ok - let's see I got the microsoft reader - confusing piece of software - no apparent way to add books to it's library... so navigate to calibre library & try open with.... 
		
	
		
		
		
		
		
		
		
		
		
		
		
			I still see the ? within the reader text e.g. in this extract , pasted from MS reader screen "I opened my eyes, relieved but not really surprised. After all?it wasn’t...." & this one "Irene’s dead. Says she died yesterday?right here in this hospital from the context in which these ? are appearing, it would make perfect sense that they began life as emdashes so the auto-fix instruction would have to do this: locate any instance of a ? which is not preceded by OR followed by a space character and then replace it with space+emdash+space. that should not change genuine end of sentence ? marks. could that be done in regex ? maybe that yould be done but in the meantime I've now finished reading teh book already so it becomes an academic challenge. interestingly - the next book of the same series ( same source, same format) does not have this problem. Last edited by cybmole; 10-16-2010 at 05:44 AM.  | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#11 | ||
| 
			
			
			
			 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 
				
				
				 | 
	
	
	
		
		
		
		
		 Quote: 
	
 Quote: 
	
 So how was the book?  | 
||
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#12 | 
| 
			
			
			
			 Wizard 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 3,720 
				Karma: 1759970 
				Join Date: Sep 2010 
				
				
				
				Device: none 
				
				
				 | 
	
	|
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#13 | |
| 
			
			
			
			 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 
				
				
				 | 
	
	
	
		
		
		
		
		 Quote: 
	
 Thanks for the info. I had it tagged as a Paranormal Romance vice Urban Fantasy but there is usually a large overlap between the two so I tagged it as Urban Fantasy as well.  | 
|
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#14 | 
| 
			
			
			
			 Resident Curmudgeon 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 80,782 
				Karma: 150249619 
				Join Date: Nov 2006 
				Location: Roslindale, Massachusetts 
				
				
				Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3 
				
				
				 | 
	
	|
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#15 | 
| 
			
			
			
			 Resident Curmudgeon 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 80,782 
				Karma: 150249619 
				Join Date: Nov 2006 
				Location: Roslindale, Massachusetts 
				
				
				Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			You've downloaded a poor copy of Dead Girls Are Easy  By Terri Garey.
		 
		
	
		
		
		
		
		
		
		
		
		
		
	
	 | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
![]()  | 
            
        
            
            
  | 
    
			 
			Similar Threads
		 | 
	||||
| Thread | Thread Starter | Forum | Replies | Last Post | 
| [old-topic]ebook-viewer: Open source, crossplatform viewer for EPUB, LIT, MOBI, etc | kovidgoyal | Calibre | 68 | 05-30-2011 09:46 PM | 
| How to create custom context menu item? | gizban | Calibre | 2 | 08-22-2010 07:22 PM | 
| no context-menu, no wifi | snakeduh | PocketBook | 3 | 07-08-2010 04:24 PM | 
| Trying to add table of context to MOBI | edabxv | Calibre | 7 | 02-26-2010 10:20 AM | 
| Context menus not happy in 4.109 | hockeynut | Calibre | 1 | 12-03-2008 02:31 PM |