Re: What encoding to use to turn NSData from a subprocess into an NSString?
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