Re: Using pathnames with special characters
Re: Using pathnames with special characters
- Subject: Re: Using pathnames with special characters
- From: Charles Srstka <email@hidden>
- Date: Wed, 1 May 2002 18:02:45 -0500
Make sure that if you convert a path to a C string, you do so using
-[NSString fileSystemRepresentation] rather than -[NSString cString],
which will mess up special characters.
On Wednesday, May 1, 2002, at 04:05 AM, Cedric John wrote:
Hi!
I'm implementing a freeware that needs to send tasks to the OS using
pathnames as arguments. However, on difficulty
that I encounter is that Darwin will not recognize a pathname on the
form "/folder/another folder/ some file name.whatever" since it
contains special characters (blanks). Since my freeware requires users
to choose their own files, I would need to make the system understand
each and every possible pathname. The browser has no problem dealing
with them, and I am sure it is a trivial issue, but I am stuck. Does
anyone have a clue?
Thanks a lot in advance!
Cidric John
Ph.D. Student
_______________________________________________
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.
_______________________________________________
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.