• 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: What encoding to use to turn NSData from a subprocess into an NSString?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: What encoding to use to turn NSData from a subprocess into an NSString?


  • Subject: Re: What encoding to use to turn NSData from a subprocess into an NSString?
  • From: Jerry Krinock <email@hidden>
  • Date: Wed, 24 May 2006 08:30:02 -0700
  • Thread-topic: What encoding to use to turn NSData from a subprocess into an NSString?

on 06/05/23 23:32, Chris Suter at email@hidden wrote:

> It's also worth checking that you get nil rather than an exception

NSString initWithData:encoding:NSUTF8Encoding does indeed give nil if the
data contains any non-UTF8 sequence.


 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

References: 
 >Re: What encoding to use to turn NSData from a subprocess into an NSString? (From: Chris Suter <email@hidden>)

  • Prev by Date: Re: NSImage Gradient Mask
  • Next by Date: Re: What encoding to use to turn NSData from a subprocess into an NSString?
  • Previous by thread: Re: What encoding to use to turn NSData from a subprocess into an NSString?
  • Next by thread: Re: What encoding to use to turn NSData from a subprocess into an NSString?
  • Index(es):
    • Date
    • Thread