Re: Converting OSX Path to a OS9 Path
Re: Converting OSX Path to a OS9 Path
- Subject: Re: Converting OSX Path to a OS9 Path
- From: Sandy Martel <email@hidden>
- Date: Tue, 7 Jan 2003 11:23:23 -0500
On mardi, janvier 7, 2003, at 11:38 AM, Flemming Bengtsson wrote:
Hi All,
How can you convert an OSX path string contained in a NSString to a
OS9
Str255 path string ?
If it's to get a displayable string for the user use this instead:
[NSFileManager displayNameAtPath:(NSString *)path]
If it's to access the file, it's a very bad idea
You will have problem with the length (some path may be longer than 255)
You will have problem with the encoding (one path may have characters
in different encoding)
You will have problem with the uniqueness (some path may point to more
than one file, when you have more than one volume with the same name)
Sandy.
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.