decoding ISO characters
<p>I got Chinese characters encoded in ISO-8859-1, for example <code>&amp;#20860; = 兼</code><br>
Those characters are taken form the database using AJAX and sent by Json using json_encode.<br>
I then use the template Handlebars to set the data on the page.<br>
When I look at the ajax page the characters are displayed correctly, the source is still encoded.<br>
But the final result displays the encrypted characters.</p>

<p>I tried to decode on the javascript part with <code>unescape</code> but there is no foreach with the template that gives me the possibility to decode the specific variable, so it crashes.<br>
I tried to decode on the PHP side with <code>htmlspecialchars_decode</code> but without success.</p>

<p>Both pages are encoded in ISO-8859-1, but I can change them in UTF8 if necessary, but the data in the database remains encoded in ISO-8859-1.</p>

<p>Thank you for your help.</p>
