Re: 8-bit chars in @""
Re: 8-bit chars in @""
- Subject: Re: 8-bit chars in @""
- From: Douglas Davidson <email@hidden>
- Date: Wed, 20 Mar 2002 09:59:16 -0800
On Wednesday, March 20, 2002, at 09:16 AM, Erik J. Barzeski wrote:
Yup. Do believe the documentation and don't use them.
Why? It works fine. So that's the meat of the question... Why does it
work
when it say it shouldn't? Why shouldn't it just work the same as
NSString's
unicode support? Why only support 7-bit characters?
The essence of the problem, as I understand it, is that by using 8-bit
characters in string constants in your code, you place yourself at the
mercy of the compiler's handling of string encodings, which may be
compiler-dependent. It may work now, but it is still a good idea to
avoid compiler dependencies wherever possible.
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.