• 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
utf8 to NSString crasher
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

utf8 to NSString crasher


  • Subject: utf8 to NSString crasher
  • From: Waqar Malik <email@hidden>
  • Date: Tue, 2 Sep 2008 21:29:16 -0500

I am converting UTF8 string "Rø" to NSString using stringWithUTF8String: I get nil as a return value:

(gdb) p utf8_str
$1 = "R\303", '\000' <repeats 253 times>
(gdb) po theString
Cannot access memory at address 0x0

Is there a canonical way to convert wchat_t to NSString?

Thanks
--Waqar_______________________________________________

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: utf8 to NSString crasher
      • From: "Michael Ash" <email@hidden>
    • Re: utf8 to NSString crasher
      • From: "Clark Cox" <email@hidden>
  • Prev by Date: Re: Modal dialog from a document-modal sheet
  • Next by Date: Re: utf8 to NSString crasher
  • Previous by thread: Re: nibless applications
  • Next by thread: Re: utf8 to NSString crasher
  • Index(es):
    • Date
    • Thread