• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Who broke NSLog on Leopard ?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Who broke NSLog on Leopard ?


  • Subject: Re: Who broke NSLog on Leopard ?
  • From: John Stiles <email@hidden>
  • Date: Fri, 25 Jan 2008 13:20:28 -0800

If that's the case, I bet the problem is that the data contains "13"s instead of "10"s for the newlines.


David Burnett wrote:
John Stiles wrote:
You could probably do
   printf("%s", xml);



No luck I'm afraid, not only does it still have the '\n' characters
it truncates the XML too.


At the moment I'm dumping the XML into the apps's ~/Library/Application Support/ folder using the writeToFile:atomically: which has none of these problems.

Dave
_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


References: 
 >Who broke NSLog on Leopard ? (From: David Burnett <email@hidden>)
 >Re: Who broke NSLog on Leopard ? (From: John Stiles <email@hidden>)
 >Re: Who broke NSLog on Leopard ? (From: David Burnett <email@hidden>)

  • Prev by Date: Re: Who broke NSLog on Leopard ?
  • Next by Date: Re: NSScroller methods not being called
  • Previous by thread: Re: Who broke NSLog on Leopard ?
  • Next by thread: Re: Who broke NSLog on Leopard ?
  • Index(es):
    • Date
    • Thread