• 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: ASL & Unicode in Xcode's Console
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: ASL & Unicode in Xcode's Console


  • Subject: Re: ASL & Unicode in Xcode's Console
  • From: "Sean McBride" <email@hidden>
  • Date: Tue, 28 Oct 2008 16:53:02 -0400
  • Organization: Rogue Research

On 10/28/08 4:03 PM, Jason Coco said:

>Also, you should not be using non-ascii characters in string
>literals :) hopefully you're just doing this to demonstrate the issue.
>You should
>be doing something like this:
>
>char *hiragana_a = { 0xE3, 0x81, 0x82, 0x00 };
>NSLog(@"%@", [NSString stringWithCString:a
>encoding:NSUTF8StringEncoding]);

That is no longer necessary in 10.5 / Xcode 3.  You can use Unicode in
string literals in Objective-C.

--
____________________________________________________________
Sean McBride, B. Eng                 email@hidden
Rogue Research                        www.rogue-research.com
Mac Software Developer              Montréal, Québec, 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

  • Follow-Ups:
    • Re: ASL & Unicode in Xcode's Console
      • From: Jason Coco <email@hidden>
References: 
 >ASL & Unicode in Xcode's Console (From: Karl Moskowski <email@hidden>)
 >Re: ASL & Unicode in Xcode's Console (From: Jason Coco <email@hidden>)

  • Prev by Date: Re: NSTableView right clicked row
  • Next by Date: Open Window from Input Manager
  • Previous by thread: Re: ASL & Unicode in Xcode's Console
  • Next by thread: Re: ASL & Unicode in Xcode's Console
  • Index(es):
    • Date
    • Thread