• 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
RTFD File Encoding
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RTFD File Encoding


  • Subject: RTFD File Encoding
  • From: Saratchandra Kongara <email@hidden>
  • Date: Tue, 11 Feb 2003 11:41:55 -0500

Hello,
I am saving an attributed string (with attachments) as a RTFD file
using a File Wrapper. I like to know if there is a way to specify the
encoding to be used. I like to specify UTF-8 as the encoding for the
RTFD document.

fileWrapper = [contents RTFDFileWrapperFromRange:range
documentAttributes:nil];
[fileWrapper writeToFile:filePath atomically:YES updateFilenames:NO];

contents is NSAttributedString that contains the actual data.

Thanks in advance.

Regards
Sarat Kongara
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

  • Follow-Ups:
    • Re: RTFD File Encoding
      • From: Douglas Davidson <email@hidden>
  • Prev by Date: Re: Copy Icon Data to clipboard
  • Next by Date: Fwd: Re: Displaying my view in a Window
  • Previous by thread: Re: Copy Icon Data to clipboard
  • Next by thread: Re: RTFD File Encoding
  • Index(es):
    • Date
    • Thread