| const char * filepath = "/Volumes/TigerNew/abcd";
unsigned short *unifilepath;
asciitounicode(unifilepath,filepath);
NSString *nstr = [[NSString alloc] initWithBytes:unifilepath length:length encoding:NSUTF8StringEncoding];
fopen([nstr UTF8String],"r");
Will the above code work? |