• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Problem with localized characters in path
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: Problem with localized characters in path
      • From: "Sean McBride" <email@hidden>
  • Prev by Date: Re: noobs and document package types
  • Next by Date: Re: Antw: Core Data PersistentStore woes with SQLite
  • Previous by thread: Re: NSString comparison with locale single character error
  • Next by thread: Re: Problem with localized characters in path
  • Index(es):
    • Date
    • Thread