Re: NSKeyedArchiver UTF-8 problems
Re: NSKeyedArchiver UTF-8 problems
- Subject: Re: NSKeyedArchiver UTF-8 problems
- From: Raphael Bartolome <email@hidden>
- Date: Thu, 6 Oct 2005 11:30:46 +0200
Hi,
thanks,
You have right, the data I write to the filehandle is bigger than the
data that I receive.
But why could this happen?
raphael
Am 06.10.2005 um 11:18 schrieb j o a r:
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
_______________________________________________
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