• 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 18:04:52 -0400
  • Organization: Rogue Research Inc.

On 9/1/09 2:55 PM, Kyle Sluder said:

>> 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.
>
>The problem is that the encoding used in the string literal might not
>be that used on disk.

Perhaps I'm misunderstanding, or need to learn something new here, but I
don't get it.  If you create a file using a Cocoa API you'll be passing
an NSString.  The NSString knows the encoding.  Cocoa knows how to
convert any NSString to whatever encoding the POSIX layer wants.  Where
is the problem?  Are you worried about the encoding of text files passed
to the compiler?  Use UTF8.

--
____________________________________________________________
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

References: 
 >Re: saving files/folders in foreign language names (From: "Sean McBride" <email@hidden>)
 >Re: saving files/folders in foreign language names (From: Kyle Sluder <email@hidden>)

  • Prev by Date: Re: Build Issue?
  • Next by Date: Re: NSScrollView: Scrollers invisible under Mac OS X 10.6
  • Previous by thread: Re: saving files/folders in foreign language names
  • Next by thread: Re: saving files/folders in foreign language names
  • Index(es):
    • Date
    • Thread