char *url = "test";
NSString *urlStr = [NSStringstringWithUTF8String:url];
char *ch = [urlStr UTF8String];