Decoding ANSI c string from win32
Decoding ANSI c string from win32
- Subject: Decoding ANSI c string from win32
- From: JONATHANJOSEPH HESS <email@hidden>
- 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.