Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RTFD file corruption



My application stores data in RTFD text files. That is a package note.rtfd/ that stores a text file TXT.rtf along with any attachments.

The problem is that recently a user sent me a document where these files were corrupted and would not open. In the end the corruption turned out to be very minor, the capitalization had changed on the internal text file to TXT.RTF. Changing it back to TXT.rtf fixed the problem.

I'm wondering if this is a problem that I could have caused and if there is something that I should be doing to avoid it. I save the text using RTFDFileWrapperFromRange and then save the filewrapper to disk. My guess is that the problem must have occurred when moving between different file formats, they use OS 10.3.9, 10.4, and an iPod shuffle to move the file between. Is there anything that I can do or suggest so that they won't run into this problem in the future.

Thanks,
Jesse
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/email@hidden

This email sent to email@hidden


Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.