Receiving character '\r' in argv[] in a Foundation tool
Receiving character '\r' in argv[] in a Foundation tool
- Subject: Receiving character '\r' in argv[] in a Foundation tool
- From: Pierre-Olivier Latour <email@hidden>
- Date: Sat, 01 Feb 2003 17:28:31 -0800
Hi,
I'm working on a foundation tool to which you pass files through the
arguments.
My problem is that there is one file I can't pass: the Icon file created by
the Finder in some folders to store the icon. Its real name is "Icon\r".
When I pass this name as an argument, I actually receive: "Iconr"
Apparently the shell is stripping the \ and not recognizing the \r. Any
idea?
How about using these unicode things \xxx\xxx\xxx? What's the equivalent for
\r in unicode?
_____________________________________________________________
Pierre-Olivier Latour email@hidden
Palo Alto, USA
http://www.pol-online.net
_______________________________________________
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.