Re: Converting .doc file to .txt file

Tech-Archive recommends: Fix windows errors by optimizing your registry



I don't suppose "Save as Web Page - Filtered" would help :-)

Otherwise, you need to match your text output format to the encoding format
of the web page.

Mac OS is the last format you would choose, because although it is
compatible with elderly Macintosh computers, it breaks on nearly anything
else :-)

I set all my web pages to UTF-8 encoding, and save Text Files in Unicode
UTF-8. That will correctly render any known character without requiring any
special coding or tricks, in any known browser still in use.

However, if your webpage does not contain an <meta http-equiv="Content-Type"
content="text/html; charset=UTF-8"/> tag, all bets are off. Modern browsers
will attempt to "guess" what the encoding is, often with some highly amusing
results.

Cheers


On 14/05/09 2:00 AM, in article 59b7462e.-1@xxxxxxxxxxxxxxxxxxxxxxx,
"outtacontext@xxxxxxxxxxxxxxxx" <outtacontext@xxxxxxxxxxxxxxxx> wrote:

Version: 2008
Operating System: Mac OS X 10.5 (Leopard)
Processor: Intel

What is the best way to save a doc file as a text file so that all the
characters will be read correctly in html?

I often am giving a .doc file with content to be put into an existing Web
page. So I am always doing a Save As... to change the doc to a text version so
I can easily input it into the html.

However, the way I'm saving the file as text (Text Encoding: Mac OS) the
apostrophes and quote marks don't change from curly quotes to the readable
"tick" marks for html.

So, how can I convert a doc file to a txt file so that these characters change
to the straight quote versions? Thx.

--
Don't wait for your answer, click here: http://www.word.mvps.org/

Please reply in the group. Please do NOT email me unless I ask you to.

John McGhie, Microsoft MVP, Word and Word:Mac
Sydney, Australia. mailto:john@xxxxxxxxxxx

.



Relevant Pages

  • Re: [SLE] Open Office problem
    ... On Monday 14 June 2004 08:27 pm, Doug McGarrett wrote: ... > Received a .DOC file from a MAC machine. ... > little part I can read looks like the right format, ... I'm not having a problem with .doc files, but I don't have a Mac .doc ...
    (SuSE)
  • Re: Converting MAC Word documents to Win Word
    ... Some versions of MacWord can save as a .doc file. ... I believe all versions of MacWord can save as a rich text format file, which Word 2003 should be able to open. ... I'm sorry but I've never used MAC, so is it possible to save a file in MAC ...
    (microsoft.public.word.docmanagement)
  • Re: cant open file I emailed myself with bad extension
    ... If you emailed them from the Mac to the Windows machine, ... And check the attachment encoding: ... Macintosh files differ from files created on other computers. ...
    (microsoft.public.word.newusers)
  • Re: Keynote und fehlende Schriften
    ... unter Windows erstellte Dokumente auf dem Mac genauso krank aussehen wie ... Regarding Microsoft's "bug-fix" release of Arial and Times fonts (see ... font's encoding vector (which maps ASCII codes to glyphs, ... Mac fonts from Microsoft seem to say, ...
    (de.comp.sys.mac.misc)
  • Re: Does Base64 encoding before encryption makes it easier to break?
    ... ]>> inherently affect the statistical properties in them. ... ]a secret transformation not a 'public' transformation. ... ]represented as 4 integers in hex format or in decimal ... ]get back the binary form from the base64 encoding, ...
    (sci.crypt)