• 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: -[NSURL path] returning nil
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: -[NSURL path] returning nil


  • Subject: Re: -[NSURL path] returning nil
  • From: Nir Soffer <email@hidden>
  • Date: Sun, 27 Aug 2006 07:28:58 +0300


On Aug 25, 2006, at 11:27 PM, Tomas Franzén wrote:

When I query an NSURL for its path, it returns nil. The reason seems to be that the URL contains "�" (the character 'ä'). The docs say that -[NSURL path] returns nil if the URL doesn't conform to RFC 1808, but as far as I can tell, this URL should be valid:

NSURL assume UTF-8 encoding when it decode percent escapes. ä should be encoded as ä.



Best Regards,

Nir Soffer

_______________________________________________
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: 
 >-[NSURL path] returning nil (From: Tomas Franzén <email@hidden>)

  • Prev by Date: Re: Re: How to calculate diagonal size of text?
  • Next by Date: how to display a window from separate nibs?
  • Previous by thread: -[NSURL path] returning nil
  • Next by thread: Core Data, NSImageView, and Thumbnailing
  • Index(es):
    • Date
    • Thread