Most parts of OS X are also limited when it comes to the overall length of the file path. The path limitation, "PATH_MAX", is 1,024 bytes, which in most cases means 1,024 characters. (That's based on 1 byte for each character, though Asian characters may require more bytes to represent them).
Under most circumstances, you won't ever run into this limit, but when you do, you'll get unexpected behavior in the Finder. For example, not being able to move files and folders out of the folder in question.
Most applications will allow you to use up to 255 characters in the filename, but certain Carbon software that uses the older FSSpecs (a way to refer to a file) will be limited to 31 characters.
Anyway, hope this helps....