I'm sending a string that has GPS information (including the special charecters like degree, quotation, etc) via a NSUrlConnection. However, the server is not grabbing the information. It does grab the other strings I send though and I also print the GPS string before it sends and it is correct. My theory right now is that the PHP and/or the MySql statement is confused by the special characters in the GPS string sent via the iphone. Here's the block of code that sends the gps string.
Code:
[body appendData:[[NSString stringWithFormat:@"\r\n--%@\r\n",boundary] dataUsingEncoding:NSUTF8StringEncoding]];
[body appendData:[[NSString stringWithFormat:@"Content-Disposition: form-data; name=\"gps\"; filename=\"%@\"\r\n",image.gps] dataUsingEncoding:NSUTF8StringEncoding]];
[body appendData:[[NSString stringWithFormat:@"\r\n--%@\r\n",boundary] dataUsingEncoding:NSUTF8StringEncoding]];