• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: 8-bit chars in @""
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

  • Follow-Ups:
    • Re: 8-bit chars in @""
      • From: "Erik J. Barzeski" <email@hidden>
References: 
 >Re: 8-bit chars in @"" (From: "Erik J. Barzeski" <email@hidden>)

  • Prev by Date: Re: 8-bit chars in @""
  • Next by Date: Re: Cocoa's Popularity
  • Previous by thread: Re: 8-bit chars in @""
  • Next by thread: Re: 8-bit chars in @""
  • Index(es):
    • Date
    • Thread