• 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: Too many characters
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Too many characters


  • Subject: Re: Too many characters
  • From: Christopher Nebel <email@hidden>
  • Date: Thu, 30 Mar 2006 11:29:51 -0800

On Mar 29, 2006, at 12:48 PM, Luther Fuller wrote:

After two days, I finally discovered why my script wasn't working correctly. When I limited the number of characters I wrote to a file's comment, my problems ceased.

I've searched documentation to answer the questions:
1. What is the maximum number of characters in a file name?

That depends on the volume format -- it might be as few as eight. However, the usual file system is HFS+, for which the answer is 255 UTF-16 code units. (See <http://developer.apple.com/technotes/tn/ tn1150.html#HFSPlusNames>.) Because of various Unicode subtleties (notably decomposition; see "Unicode Subtleties" on the same page), the number of "characters" might be much less than that.


2. What is the maximum number of characters in a file comment?

I don't believe this is documented anywhere, but I'll look into it.


--Chris Nebel AppleScript and Automator Engineering

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


References: 
 >Too many characters (From: Luther Fuller <email@hidden>)

  • Prev by Date: Re: Panther versus tiger
  • Next by Date: diskutil in shell script not working
  • Previous by thread: Re: Too many characters
  • Next by thread: Re: Too many characters
  • Index(es):
    • Date
    • Thread