Skip navigation.
 
mlRTF enconding question
FROM : Andreas Höschler
DATE : Thu Aug 03 20:45:42 2006

Hello all,

my text writer application generates the attributed string with

   NSData *value = ...;
          NSAttributedString *attrString = [[NSAttributedString alloc]
initWithRTFD:value documentAttributes:NULL];

and stores it with

          value = [attrString RTFFromRange:NSMakeRange(0, [attrString
length]) documentAttributes:nil];

This works on MacOSX and on GNUstep. But when I create a document on
MacOSX with ü,ö.ä,... and open it on GNUstep, these german characters
are gone. Is this a bug in GNUstep or am I doing anything wrong? I
assume that I hav eto force unicode encoding somewhere but I don't know
whether thi sis true and where. The documentation tells me that
NSCharacterEncodingDocumentAttribute is relevant for plain text
documents only!?

Thanks a lot!

Regards,

  Andreas

Related mailsAuthorDate
No related mails found.