Re: Too many characters
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