On Jul 17, 2013, at 3:26 PM, koko wrote: > With this character: > > LATIN SMALL LETTER U WITH DIAERESIS > Unicode: U+00FC, UTF-8: C3 BC > > in a file path (as the folder name) > > which I get from the NSSavePanel -filename I cannot save to the path. > > Some code > > NSString *filepath = [savePanel filename]; > const char * cFilePath = [[NSFileManager defaultManager] > fileSystemRepresentationWithPath:filepath]; > > > Then in my low level I/O: > > FILE* f = NULL; > f = fopen(path, mode); > > f is NULL i.e. path (the cFilePath from above) cannot open a file file > writing. > > How should I get around this?
use -URL instead? -filename is deprecated... Keary Suska Esoteritech, Inc. "Demystifying technology for your home or business" _______________________________________________ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)lists.apple.com Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com