ios - Response with bad encoding -
I have a request for Yelp, where I get a site by id. All are doing successful work, but I get a problem with ID, which returns yelp.
"yelp_id" = "caf \ u00e9-de-paris-london-6";
Bad encoding, and the site does not appear. It should be - "yelp_id" = "cafe-de-Paris-London-6";
How to fix this problem? help please.
P.S. For example, data in json: {address = "3-4 Coventry Street"; Id = 2; "Is_subscribed" = 0; Latitude = "51.51052449"; Longitude = "-0.131816821801"; Owner = {"fb_id" = 513707602107780; }; "Start_it" = "2014-07-31T15: 40: 40.333Z"; Title = new; "Yelp_id" = "caf \ U00e9-de-paris-london-6"; });
I do not think the id is wrong.
You are receiving the \ u00e 9
character é
. yelp_id
is a UTF-8 string so that human readable id cafes-D-Paris-London-6
.
Comments
Post a Comment