• 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 getResourceValue fails
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSURL getResourceValue fails


  • Subject: Re: NSURL getResourceValue fails
  • From: Steve Gehrman <email@hidden>
  • Date: Wed, 13 Oct 2010 15:19:53 -0700

I also noticed that NSWorkspace iconForFile fails for those files.  So, that code must have similar issues.

-steve

On Oct 13, 2010, at 2:31 PM, Dominic Giampaolo wrote:

and the problem doesn't happen on a normal hard disk and most servers work fine, just this one ftp volume mounted.

It's still a question of decomposed vs. precomposed
utf-8 characters.  If the server gives you back
precomposed but the string does get decomposed then
it won't work.  Sadly this is a grey area which has
never been fully addressed because there are no
clear solutions except "everyone should behave the
same".  And that solution as you might imagine is
never going to happen in the computer industry.

Probably the easiest thing to do is to always try
the normal route but if you get back "not found"
_and_ the string has non-ascii characters, then
try it as precomposed and see if that finds the
item.


--dominic



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

This email sent to email@hidden

References: 
 >File Corruption copying to a DMG (From: Steve Gehrman <email@hidden>)
 >Re: File Corruption copying to a DMG (From: Eric Tamura <email@hidden>)
 >Re: File Corruption copying to a DMG (From: Steve Gehrman <email@hidden>)
 >Re: File Corruption copying to a DMG (From: Dave Camp <email@hidden>)
 >Re: File Corruption copying to a DMG (From: Steve Gehrman <email@hidden>)
 >NSURL getResourceValue fails (From: Steve Gehrman <email@hidden>)
 >Re: NSURL getResourceValue fails (From: Steve Gehrman <email@hidden>)

  • Prev by Date: Re: NSURL getResourceValue fails
  • Next by Date: Re: NSURL getResourceValue fails
  • Previous by thread: Re: NSURL getResourceValue fails
  • Next by thread: Re: NSURL getResourceValue fails
  • Index(es):
    • Date
    • Thread