title: Converting from Windows-1255 to UTF-8 encoding in Objective-C or PHP
body: <p>I am developing an iPhone app in Xcode which brings data from the <code>SQL</code> database of a Hebrew-language web site. This database uses <code>Windows-1255</code> encoding for all of its tables. When I pull data from this database to my app, it shows up as gibberish, so I think it's not being translated from the <code>Windows-1255</code> encoding to the <code>UTF-8</code> encoding that I want to use for data in my app. </p>
  
  <p>How can I convert the data to <code>UTF-8</code> in Xcode? Can I add something to the query so that the database itself will send data already translated to <code>UTF-8</code> instead of sending me data encoded in <code>Windows-1255</code>?</p>