Re: Parsing .vcf files SOLVED
Re: Parsing .vcf files SOLVED
- Subject: Re: Parsing .vcf files SOLVED
- From: Donald Brown <email@hidden>
- Date: Thu, 17 Oct 2002 14:18:19 -0500
on 10/17/02 2:08 PM, Ondra Cada at email@hidden wrote:
>
>
On Thursday, October 17, 2002, at 08:53 , Donald Brown wrote:
>
>
> ...are
>
> neither Unicode Text files (no markers at start giving byte order) nor
>
> plain
>
> text. Instead, they alternate with a null, real character, null, real
>
> character, etc.
>
>
Looks like UTF16 without the leader, what about that?
Yes! While there's not UTF16 encoder, it can be turned into an NSString* by
outString = [[NSString alloc] initWithCharacters:[dataIn bytes]
length:([dataIn length]/2)];
Donald
--
Donald Brown
email@hidden
http://www.eamontales.com
We have met the enemy and he is us - Pogo
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.