JonSnow
JonSnow

Reputation: 335

Convert Unicode symbol to entity in HTML

My website content is based on an XML which I am getting from an external partner.

The XML code contains Unicode characters (sample: Δ) and my problem is, that my (UTF-8 encoded) website is currently not displaying it correctly. Instead of Δ I am only getting a ?

Is there a chance to resolve this on my end (how?) or do I have to ask the external partner to send the XML again with Entities?

<table>
<tbody>
    <tr>
        <td>Δ Test</td>
    </tr>
</tbody>
</table>

Upvotes: 1

Views: 783

Answers (1)

Poder Psittacus
Poder Psittacus

Reputation: 94

You can use & an then the unicode number, should be '&#916';

Upvotes: 0

Related Questions