• 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
Imbedding unicode in strings
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Imbedding unicode in strings


  • Subject: Imbedding unicode in strings
  • From: Craig Altenburg <email@hidden>
  • Date: Wed, 21 Jun 2006 14:39:24 -0400

The "Text Edit" sample applications defines strings with imbedded unicode characters:

NSLocalizedString( @"Couldn\\U2019t open some of the specified files.", nil );

This works -- the string displays with the "curly" apostrophe instead of the plain ASCII one.

When I try the same thing in my program the "\U2019" is displayed.

I looked at the compiler flags but don't see anything that they're doing that would account for the difference in behavior.

Does anyone know what I need to do to get such strings recognized?

Thanks.
--
Craig
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: Imbedding unicode in strings
      • From: Nick Zitzmann <email@hidden>
    • Re: Imbedding unicode in strings
      • From: Shaun Wexler <email@hidden>
References: 
 >[Q] NSOpenPanel / NSSavePanel customization (From: JongAm Park <email@hidden>)
 >Re: [Q] NSOpenPanel / NSSavePanel customization (From: glenn andreas <email@hidden>)
 >Re: [Q] NSOpenPanel / NSSavePanel customization (From: glenn andreas <email@hidden>)

  • Prev by Date: Re: Crash while getting the NSColor components
  • Next by Date: Re: Imbedding unicode in strings
  • Previous by thread: Re: [Q] NSOpenPanel / NSSavePanel customization
  • Next by thread: Re: Imbedding unicode in strings
  • Index(es):
    • Date
    • Thread