title: iPhone "Web Site Error"
body: <p>I'm writing server-side programs in PHP for an iPhone app. And I have no iPhone. :P</p>
  
  <p>The iPhone app requests XML files from the site whenever a user runs the iPhone app. You may visit <a href="http://www.appvee.com/iphone/ads" rel="nofollow noreferrer">http://www.appvee.com/iphone/ads</a> or <a href="http://www.appvee.com/iphone/latest" rel="nofollow noreferrer">http://www.appvee.com/iphone/latest</a> for the XML files.</p>
  
  <p>And a message box will show up with the following error messages:
  "Web Site Error
  Conversion of data failed. The file is not UTF-8, or in the encoding specified in XML header if XML.
  "
  <img src="https://farm4.static.flickr.com/3195/2925993535_bd62b7cf42.jpg?v=0" alt="alt text"></p>
  
  <p>Maybe I must add header("Content-type: text/xml"); at the beginning of the PHP files? I didn't add this line and it worked well before.</p>
  
  <p>Any help is greatly appreciated.</p>