Re: 8-bit chars in @""
Re: 8-bit chars in @""
- Subject: Re: 8-bit chars in @""
- From: Douglas Davidson <email@hidden>
- Date: Mon, 25 Mar 2002 11:57:36 -0800
On Monday, March 25, 2002, at 11:32 AM, Matt Neuburg wrote:
[NSString stringWithCharacters:(unichar*)"\x20\x22" length:1]
That's my favorite as being easiest to read when you know the hex
unicode
values, and as being self-contained. The cast is just to stave off the
compiler warning; it isn't really necessary.
Actually, the compiler is trying to tell you something here...there is
an endianness problem.
Douglas Davidson
_______________________________________________
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.