K
Kevin_Stauffer
Version: 2008
Operating System: Mac OS X 10.5 (Leopard)
Processor: Intel
I have two .docx files that I've converted to plain text files. When you try to open the text files, one always brings up the "Convert File" dialog box; the other does not. There does not appear to be any difference in the two files.
The real issue is that the one that brings up the "Convert File" dialog box (call it "Doc 1") displays em dashes correctly. The other file ("Doc 2") does not. Instead, it displays them as a hyphen. I need the text-only files to show em dashes as em dashes.
A little more background: I have an AppleScript that "massages" .docx files, which includes converting them to plain text before placing the files into an InDesign document. Along the way, it converts two hyphens to an em dash (I know that Word has a preference for this as well, but our Word documents come from several different writers).
Interestingly, I did one test where I pasted a sentence that contained an em dash from Doc 2 into Doc 1. When I converted this file via AppleScript to plain text, the "Convert File" dialog box appeared and, subsequently, the em dash appeared as an em dash. So there must be some hidden difference between Doc 1 and Doc 2 ... I just can't find what it is.
Any help will be greatly appreciated.
Thanks,
Kevin
Operating System: Mac OS X 10.5 (Leopard)
Processor: Intel
I have two .docx files that I've converted to plain text files. When you try to open the text files, one always brings up the "Convert File" dialog box; the other does not. There does not appear to be any difference in the two files.
The real issue is that the one that brings up the "Convert File" dialog box (call it "Doc 1") displays em dashes correctly. The other file ("Doc 2") does not. Instead, it displays them as a hyphen. I need the text-only files to show em dashes as em dashes.
A little more background: I have an AppleScript that "massages" .docx files, which includes converting them to plain text before placing the files into an InDesign document. Along the way, it converts two hyphens to an em dash (I know that Word has a preference for this as well, but our Word documents come from several different writers).
Interestingly, I did one test where I pasted a sentence that contained an em dash from Doc 2 into Doc 1. When I converted this file via AppleScript to plain text, the "Convert File" dialog box appeared and, subsequently, the em dash appeared as an em dash. So there must be some hidden difference between Doc 1 and Doc 2 ... I just can't find what it is.
Any help will be greatly appreciated.
Thanks,
Kevin