NSUTF8 相关转码

 HF_content = [HF_content stringByAddingPercentEscapesUsingEncoding:NSUTF8StringEncoding];

    NSStringEncoding enc = CFStringConvertEncodingToNSStringEncoding(kCFStringEncodingISOLatin1);//ISO 8859-1
    
    HF_content = [HF_content stringByReplacingPercentEscapesUsingEncoding:enc];

你可能感兴趣的:(NSUTF8 相关转码)