• 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: japanese characters in document based application
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: japanese characters in document based application


  • Subject: Re: japanese characters in document based application
  • From: Chris Hanson <email@hidden>
  • Date: Mon, 13 Sep 2004 13:15:23 -0700

On Sep 13, 2004, at 12:55 AM, Julien Palmas wrote:
[@"the japanese character" cString]

-[NSString cString] is deprecated and should not be used.

You should always use one of the NSString methods that either specifically refers to a string encoding (such as -[NSString UTF8String]), or one of the NSString methods that allows you to specify (such as -[NSString dataUsingEncoding:]).

For your use, you probably want -[NSString dataUsingEncoding:] since it lets you get an NSData in a single step.

  -- Chris

_______________________________________________
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


References: 
 >japanese characters in document based application (From: Julien Palmas <email@hidden>)

  • Prev by Date: Re: New ML List Software
  • Next by Date: Re: NSPopAutoreleasePool
  • Previous by thread: Re: japanese characters in document based application
  • Next by thread: Limit the length of a string in a nstextfield
  • Index(es):
    • Date
    • Thread