NSString *cityName = @"德州市";
NSCharacterSet *allowedCharacters = [[NSCharacterSet characterSetWithCharactersInString:cityName] invertedSet];
NSString *encodedString = [cityName stringByAddingPercentEncodingWithAllowedCharacters:allowedCharacters];
NSString *cityName = @"德州市";
NSCharacterSet *allowedCharacters = [[NSCharacterSet characterSetWithCharactersInString:cityName] invertedSet];
NSString *encodedString = [cityName stringByAddingPercentEncodingWithAllowedCharacters:allowedCharacters];