• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
RTF to unicode conversion
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RTF to unicode conversion


  • Subject: RTF to unicode conversion
  • From: Klaus Backert <email@hidden>
  • Date: Mon, 4 Jun 2007 00:27:50 +0200

Hi, Roland,

Am 03.06.2007 um 23:32 schrieb Roland Silver:

John Stiles,
My copy of (Tiger) TextEdit has only four options for output file format: Rich Text Format (RTF), HTML, Word Format, and Word XML format. None of these produces a simple Unicode file (eg UTF-8) without a lot of metatext.


I HAVE found a way to convert from RTF to UTF-8, however. Using the app AbiWord, I can input an RTF file (e.g. foo.rtf), and save it as "Encoded Text" with any of a variety of encodings, including "Unicode UTF-8".
A fragment of text from the result (foo_enc.txt) appears to be valid UTF-8:
rollos$ od -tx /foo
0000000 69 64 65 73 e2 80 94 69 6c 6c 69 73 0a 000000
i d e s EM DASH i l l i s LF
U+2014
--Roland Silver

may be you can use the following method:

In the TextEdit preferences there is an Open and Save tab, where you can choose to save plain text files with a certain encoding, among others UTF-8.

and/or:

You can convert your file in TextEdit with Format > Make plain text and save it. For plain text files you can choose between several encodings in the save panel (and you can edit the list of the available encodings).

Cheers
Klaus
_______________________________________________

Cocoa-dev mailing list (email@hidden)

Do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


References: 
 >RS: RTF to unicode conversion (From: Roland Silver <email@hidden>)
 >Re: RS: RTF to unicode conversion (From: John Stiles <email@hidden>)
 >Re: RS: RTF to unicode conversion (From: Roland Silver <email@hidden>)

  • Prev by Date: Re: RS: RTF to unicode conversion
  • Next by Date: Re: RS: RTF to unicode conversion
  • Previous by thread: Re: RS: RTF to unicode conversion
  • Next by thread: Re: RS: RTF to unicode conversion
  • Index(es):
    • Date
    • Thread