discuss-gnustep
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RTF enconding


From: Andreas Höschler
Subject: RTF enconding
Date: Thu, 3 Aug 2006 20:36:44 +0200

Hello all,

my text write application generates teh attributed string with

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? How can I force RTFFromRange: do encode the attributed string as unicode 16 to avoid a possible encoding problem?

Thanks a lot!

Regards,

  Andreas




reply via email to

[Prev in Thread] Current Thread [Next in Thread]