• 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: Ondra Cada <email@hidden>
  • Date: Wed, 20 Mar 2002 18:05:36 +0100

On Wednesday, March 20, 2002, at 05:48 , Erik J. Barzeski wrote:

I read the documentation the other day and it notes that @"" is a useful
shortcut (we all knew that). It also says it takes only 7-bit characters.
NSStrings are of course Unicode (loosely put).
...
They don't print properly when used in #warnings or in NSLogs. Yet they work
just fine when the application is used. They're properly inserted into text
fields, etc. Any idea?

Yup. Do believe the documentation and don't use them.

Use NSLocalizedString and companions to get any Unicode values -- you can easily do that even if they are in fact not localizable (with the appropriate strings table directly in Resources).
---
Ondra Cada
OCSoftware: email@hidden http://www.ocs.cz
2K Development: email@hidden http://www.2kdevelopment.cz
private email@hidden http://www.ocs.cz/oc
_______________________________________________
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: 
 >8-bit chars in @"" (From: "Erik J. Barzeski" <email@hidden>)

  • Prev by Date: Re: Background Only App in Cocoa
  • Next by Date: Re: 8-bit chars in @""
  • Previous by thread: 8-bit chars in @""
  • Next by thread: Re: 8-bit chars in @""
  • Index(es):
    • Date
    • Thread