On 15.09.2012 21:18, Graeme Geldenhuys wrote:
On 15/09/12 10:54, Sven Barth wrote:
Right... but 255 characters for a filename is already rather much as
well when I compare this with the amount of text I can squash into a
SMS ;)


Now I can't remember exactly, is that 255 characters, or 255 bytes?
Because if it is the latter, then the Unicode character count limit
could be significantly less than 255.

If you look at the link I gave it says 255 characters. This is because the filename limit on the NTFS filesystem is 255 UTF-16 characters as well (the API seems to be capable of handling larger filenames tough as this is indicated by the point that using the GetVolumeInformation function you can get a value that contains the maximum amount of characters for a file or directory name).

Regards,
Sven

_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Reply via email to