title: How to print UTF-8 data in latin1 database?
body: <p>My issue is I have a database which was imported as UTF-8 that has columns that are default latin1. This is obviously an issue so when I set the charset to UTF-8 on php it gives me <code>�</code> instead of the expected <code>ae</code> character.</p>
  
  <p>Now, when I originally had my encoding as <code>windows-1252</code> it worked perfectly but then when I validate my file it says that <code>windows-1252</code> is legacy and shouldn't be used. </p>
  
  <p>Obviously I'm only trying to get rid of the error message but the only problem is I'm not allowed to change anything in the database at all. Is there any way the data can be output as <code>utf-8</code> whilst still being stored as <code>latin1</code> in the DB?</p>