On Fri, Dec 17, 2010 at 2:17 AM, Ulf Dunkel <dun...@calamus.net> wrote: > Hi Stephen. > >>> My issue: >>> When I search for an existing folder named "äöütest", it isn't found, >>> until >>> I enter the search string not via keyboard to a search field in my app, >>> but >>> copy it from the folder name in the Finder and paste it to the search >>> field >>> in my app. >> >> Some code here would help figure out what is wrong. > > Well, it's not really *my* app, so I cannot provide code right now. :-)
The quick and dirty: in Unicode there is more than one way to represent "ä". You can represent it as "ä" or "a" followed by a special 'character' umlaut. There might be more, I'm not that much of an expert. Which form you use is call the normal form: http://en.wikipedia.org/wiki/Unicode_equivalence The OS X filesystem API's expect only one (IIRC Normal-D). If you use all the proper APIs and modern conventions you won't have a problem. If you don't understand things and use the wrong APIs, do some destructive intermediary conversions, or use old APIs then things won't always work like they are supposed to. My *guess* is that when you type it in you get Normal-C and when you copy it from Finder you get Normal-D. But that's just a guess. _______________________________________________ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) 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: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com