- (NSString *)stringByAddingPercentEscapesUsingEncoding:(NSStringEncoding)enc;
Original explanation:
/* Adds All percent escapes necessary to convert the receiver into a legal URL string. Uses the given encoding to determine the correct percent escapes (returning nil if the given encoding cannot encode a part Icular character). See Cfurlcreatestringbyaddingpercentescapes in CFURL.h for more complex transformations
*/
Translation:
Add all the necessary escape percentages to convert the receiver into a valid URL string. Use the given encoding to determine the correct percentage to escape (returns 0 if the given encoding cannot encode a specific character). See Cfurl Cfurlcreatestringbyaddingpercentescapes. For more complex conversions
- (NSString *)stringByAddingPercentEscapesUsingEncoding:(NSStringEncoding)enc;
Original explanation:
/* Replaces all percent escapes and the matching characters as determined by the given encoding. Returns Nil If the transformation is not possible (i.e. the percent escapes give a byte sequence not legal in the given EN Coding). See Cfurlcreatestringbyreplacingpercentescapes in CFURL.h for more complex transformations
*/
Translation:
Replaces the escaped percentage of all matching characters by the given encoding. Returns 0 if the conversion is not possible (that is, the percentage escapes to a sequence of bytes in the given encoding is not valid). See Cfurl Cfurlcreatestringbyreplacingpercentescapes. For more complex conversions
We get the backstage URL to splice and sometimes find that some can't be coded successfully
All we have to deal with
What else can't be understood can pay attention to me and then deal with US coding together
URL encoding format