• 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: "Stephen J. Butler" <email@hidden>
  • Date: Fri, 17 Dec 2010 02:27:21 -0600

On Fri, Dec 17, 2010 at 2:17 AM, Ulf Dunkel <email@hidden> 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 (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: File name issue with German umlauts
      • From: Lee Ann Rucker <email@hidden>
    • Re: File name issue with German umlauts
      • From: Uli Kusterer <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>)

  • Prev by Date: Re: App Will Not Terminate After Uncaught Excpetion
  • Next by Date: Re: File name issue with German umlauts
  • Previous by thread: Re: File name issue with German umlauts
  • Next by thread: Re: File name issue with German umlauts
  • Index(es):
    • Date
    • Thread