Problem with localized characters in path
Problem with localized characters in path
- Subject: Problem with localized characters in path
- From: Robert Cerny <email@hidden>
- Date: Wed, 15 Nov 2006 14:52:45 +0100
Hi folks,
I have a problem I can't seem to solve. My application is a NSTask
wrapper around my tool and the problem is apparent in the recursive
mode only. Basically, my tool goes through directory hierarchy on the
server and tries to recognize image files, which if found get a
correct extension and thumbnail.
The GUI app simply allows to set switches for tool in preferences and
user selects the requested folder by dragging it onto the app icon.
It works great in 99% of attempts, but sometimes the tool responds
with "path not found"
I use:
NSString *path = [NSString stringWithUTF8String:argv[par]];
in the tool
and
- (BOOL)application:(NSApplication *)theApplication openFiles:
(NSArray *)filenames
{
[paths addObjectsFromArray:filenames];
return YES;
}
- (void)go:(id)sender
{
....
[args addObject:[paths objectAtIndex:i]];
....
}
Any ideas?
Robert
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden