• 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: saving files/folders in foreign language names
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: saving files/folders in foreign language names


  • Subject: Re: saving files/folders in foreign language names
  • From: "Sean McBride" <email@hidden>
  • Date: Tue, 1 Sep 2009 17:34:24 -0400
  • Organization: Rogue Research Inc.

On 8/31/09 4:57 PM, Kyle Sluder said:

>What does foreign language have to do with it?  Are you perhaps using
>accented characters like é in your pathnames?  You need to be very
>careful when doing that, because the filesystem stores it in
>decomposed form as e + ´,

There is no "the" filesystem.  HFS may store decomposed, but other
systems may not.  And different file systems have a different set of
allowable filenames.  Some low-ASCII characters are invalid too.

>So in short, don't do this.  Use low-ASCII characters in all of your
>hardcoded paths, and localize the directory if the user might see it.
>The documentation has more information on localized pathnames:
>http://developer.apple.com/mac/library/documentation/MacOSX/Conceptual/
>BPInternational/Articles/LocalizingPathnames.html

That might be the best approach, depending on all the usual things.  But
'high-ASCII' filenames have been acceptable on the Mac for a very long
time, and do work.

--
____________________________________________________________
Sean McBride, B. Eng                 email@hidden
Rogue Research                        www.rogue-research.com
Mac Software Developer              Montréal, Québec, Canada


_______________________________________________

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: saving files/folders in foreign language names
      • From: Kyle Sluder <email@hidden>
  • Prev by Date: Build Issue?
  • Next by Date: Re: SCNetworkReachability and impact of Snow Leopard
  • Previous by thread: Re: Build Issue?
  • Next by thread: Re: saving files/folders in foreign language names
  • Index(es):
    • Date
    • Thread