Re: Decoding ANSI c string from win32
Re: Decoding ANSI c string from win32
- Subject: Re: Decoding ANSI c string from win32
- From: "T G" <email@hidden>
- Date: Tue, 05 Nov 2002 08:53:34 +0000
What happens when you use stringWithCString? I would have thought that would
be just fine...
Terence
From: JONATHANJOSEPH HESS <email@hidden>
To: email@hidden
Subject: Decoding ANSI c string from win32
Date: Tue, 5 Nov 2002 00:19:26 -0800 (PST)
I'm reading data off a socket that was generated via windows c strings
(vanilla char *'s), I need to convert that data to NSString objects. I've
been using NSString's stringWithCString: but that doesn't seem optimal.
msdn.microsoft.com says windows c strings are "ANSI"
What constant does this best correlate to ?
NSWindowsCP1250StringEncoding?
NSWindowsCP1252StringEncoding?
Or some other one?
What id the diff between those two btw?
Thanks -
Jon Hess
_______________________________________________
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.
_________________________________________________________________
Internet access plans that fit your lifestyle -- join MSN.
http://resourcecenter.msn.com/access/plans/default.asp
_______________________________________________
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.