• 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: renaming a file with special/reserved characters in name
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: renaming a file with special/reserved characters in name


  • Subject: Re: renaming a file with special/reserved characters in name
  • From: Michael Ash <email@hidden>
  • Date: Sat, 28 Feb 2009 11:56:40 -0500

On Sat, Feb 28, 2009 at 11:49 AM, Shawn Erickson <email@hidden> wrote:
> On Sat, Feb 28, 2009 at 8:07 AM, Michael Ash <email@hidden> wrote:
>
>> $ python -c 'open("hello\xaa\xbb\xccworld", "w")';ls
>> hello���world
>
> The POSIX APIs on Mac OS X expect UTF-8 paths. The above isn't UTF-8.

Well yes, that's the whole point. This is what I said:

"HFS+ only accepts non-UTF-8 by URL-encoding (!) the non-UTF-8 bytes"

You said it was incorrect. As you can see, that is exactly what
happens with non-UTF-8 text.

Did you perhaps miss the "non"?

Mike
_______________________________________________

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: 
 >renaming a file with special/reserved characters in name (From: Martin Wierschin <email@hidden>)
 >Re: renaming a file with special/reserved characters in name (From: Michael Ash <email@hidden>)
 >Re: renaming a file with special/reserved characters in name (From: Martin Wierschin <email@hidden>)
 >Re: renaming a file with special/reserved characters in name (From: Michael Ash <email@hidden>)
 >Re: renaming a file with special/reserved characters in name (From: Martin Wierschin <email@hidden>)
 >Re: renaming a file with special/reserved characters in name (From: Ken Thomases <email@hidden>)
 >Re: renaming a file with special/reserved characters in name (From: Martin Wierschin <email@hidden>)
 >Re: renaming a file with special/reserved characters in name (From: Shawn Erickson <email@hidden>)
 >Re: renaming a file with special/reserved characters in name (From: Michael Ash <email@hidden>)
 >Re: renaming a file with special/reserved characters in name (From: Shawn Erickson <email@hidden>)

  • Prev by Date: NSTableView and CA backed views
  • Next by Date: Re: renaming a file with special/reserved characters in name
  • Previous by thread: Re: renaming a file with special/reserved characters in name
  • Next by thread: Re: renaming a file with special/reserved characters in name
  • Index(es):
    • Date
    • Thread