RTFD File Encoding
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.