Skip navigation.
 
mlRe: Not so long filenames
FROM : Jason Coco
DATE : Tue Oct 14 18:07:54 2008

On Oct 14, 2008, at 11:28 , Gerriet M. Denkmann wrote:

> HFS+ and Finder can use filenames which use in Utf-16 up to 255 
> shorts.
>
> But in the program below there seems to exist some other limit (at 
> least on 10.4.11 Tiger).
> Where is this documented?
> Or what am I doing wong?
>
> ... Filewrapper has preferred filename with 128 shorts in Utf16; 
> Utf8 of fileSystemRepresentation has 256 bytes
> ... Error: writeToFile
> Filename has exited with status 2.


I'm not really sure, but one thing I noticed right away is that 256 > 
255...

J

Related mailsAuthorDate
mlNot so long filenames Gerriet M. Denkman… Oct 14, 17:28
mlRe: Not so long filenames Jason Coco Oct 14, 18:07
mlRe: Not so long filenames Gerriet M. Denkman… Oct 14, 22:00
mlRe: Not so long filenames Sean McBride Oct 14, 23:43
mlRe: Not so long filenames Chris Suter Oct 15, 03:32
mlRe: Not so long filenames Gerriet M. Denkman… Oct 15, 13:12
mlRe: Not so long filenames Gerriet M. Denkman… Oct 15, 13:19