• 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: NSLocalizedString, genstrings, and Unicode
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSLocalizedString, genstrings, and Unicode


  • Subject: Re: NSLocalizedString, genstrings, and Unicode
  • From: Aki Inoue <email@hidden>
  • Date: Fri, 15 Aug 2008 13:13:06 -0700

Yes, the compiler shipped with Xcode 3.0 and later supports UTF-8 in constant strings.

Still it's recommended to keep your constant strings ASCII-only for performance.

Aki

On 2008/08/15, at 12:09, Sean McBride wrote:

Hi all,

The docs for NSLocalizedString() say "In order to be parsed correctly by
genstrings, 'key' should not contain any high-ASCII characters."


On 10.5.4 / Xcode 3.1, this does not seem to be true. Anyone know if
the docs are simply out of date? I suspect that since 10.5 now allows
UTF8 in @"" strings that NSLocalizedString/genstrings were updated as well.


Cheers,

--
____________________________________________________________
Sean McBride, B. Eng email@hidden
Rogue Research www.rogue-research.com
Mac Software Developer Montr$(D+1(Bal, Qu$(D+1(Bbec, Canada



_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden

_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: NSLocalizedString, genstrings, and Unicode
      • From: "Sean McBride" <email@hidden>
References: 
 >NSLocalizedString, genstrings, and Unicode (From: "Sean McBride" <email@hidden>)

  • Prev by Date: Window 'close' action fails
  • Next by Date: Re: Making a bound view re-read its value
  • Previous by thread: NSLocalizedString, genstrings, and Unicode
  • Next by thread: Re: NSLocalizedString, genstrings, and Unicode
  • Index(es):
    • Date
    • Thread