Re: NSKeyedArchiver UTF-8 problems
Re: NSKeyedArchiver UTF-8 problems
- Subject: Re: NSKeyedArchiver UTF-8 problems
- From: j o a r <email@hidden>
- Date: Thu, 6 Oct 2005 11:18:51 +0200
On 6 okt 2005, at 11.09, Raphael Bartolome wrote:
NSData *sendData = [[NSData alloc]initWithBytes:[[data_object
transferData]bytes] length:[[data_object transferData]length]];
You're creating a copy of a NSData instance here?
The incomming data will read:
resultDictionary = [NSKeyedUnarchiver unarchiveObjectWithData:data];
Have you verified that the size of your output data matches the size
of the input data? Have you made a binary comparison to ensure that
you get back what you wrote out?
I have no idea who can I get the NSData into UTF-8
I don't think that you should focus on that error message yet - first
validate that your in / out data matches up.
j o a r
Attachment:
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________
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