Which encoding should I use to convert NSData to NSString and backwards, if the string doesn't need to be beautiful? <p>Cheers,</p> <p>my app needs to send the contents of a NSData object to a webserver as a parameter of a GET request. It should be able to receive that very same data back at a later time. The data will be stored as longtext in a mysql database, the content is not known to me and may be pretty much anything.</p> <p>To achieve this, I'll need to convert it into a NSString, but which encoding should I choose? Does it matter at all which one I choose as long as it is the same for both ways?</p> <p>Thanks!!</p>