• 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: File name issue with German umlauts
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: File name issue with German umlauts


  • Subject: Re: File name issue with German umlauts
  • From: "Adam R. Maxwell" <email@hidden>
  • Date: Fri, 17 Dec 2010 20:15:59 -0800

On Dec 17, 2010, at 12:08 , Lee Ann Rucker wrote:

> We do this to check whether two URLs really refer to the same file (you can also hit issues when using NSString path manipulation to build paths and then turn them into URLs):

FWIW, we had this problem also.  IIRC we were creating NSURLs from paths returned by some Carbon file manager API, and they were not equal to NSURLs obtained from Cocoa API (open panel or drag-and-drop).  In the end, I wrote an object wrapper around FSRef and called FSCompareFSRefs.  NSURL is a poor choice for a file name container, IMO, because of the normalization issues and because its -hash performance (at least prior to 10.6) was terrible.

--
Adam

_______________________________________________

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

References: 
 >File name issue with German umlauts (From: Ulf Dunkel <email@hidden>)
 >Re: File name issue with German umlauts (From: "Stephen J. Butler" <email@hidden>)
 >Re: File name issue with German umlauts (From: Ulf Dunkel <email@hidden>)
 >Re: File name issue with German umlauts (From: "Stephen J. Butler" <email@hidden>)
 >Re: File name issue with German umlauts (From: Lee Ann Rucker <email@hidden>)

  • Prev by Date: Re: NSView setAlphaValue question (Update still not working)
  • Next by Date: Re: Use of mutableArrayValueForKey
  • Previous by thread: Re: File name issue with German umlauts
  • Next by thread: Re: File name issue with German umlauts
  • Index(es):
    • Date
    • Thread