RTF bug in TextEdit and XCode ?

Jean-Christophe Helary fusion at mx6.tiki.ne.jp
Wed Jan 3 23:42:27 PST 2007


I know Xcode is not specifically an RTF editor but when I looked  
around, the only RTF supporting text editor around was Xcode (and  
TextEdit). I needed to do a massive search/replace in a bunch of RTF  
files and I thought Xcode would help but I found the following bug  
(?) in both:

I open an RTF file in either of the two.
I don't do anything to it.
I save is.

The result is an RTF file that Word or OpenOffice (NeoOffice) can't  
display with the original layout, while the Apple apps won't have no  
problem displaying it with the proper line breaks etc.

The (not so) funny thing is that if I do something to the file before  
saving it, it retains its line breaks and there are no issues at all  
when the file is used in non Apple apps.

Is it me or is it a major bug ?

Jean-Christophe Helary






More information about the MacOSX-talk mailing list