Link to home
Start Free TrialLog in
Avatar of Steven Debock
Steven Debock

asked on

UTF-8 chars in html

Hello experts

I have a php page containing html
Everything was ok until i noticed that database echo's where not displaying there utf-8 chars.
I added the following to the file
<!DOCTYPE html>
<meta charset="utf-8">

This solved the displaying of the utf-8 chars from the database echo's
But now the utf-8 chars that are in the html of that page like € and é ë are displayed as <?> icons

Any id's?
ASKER CERTIFIED SOLUTION
Avatar of Ray Paseur
Ray Paseur
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of StealthyDev
StealthyDev

Hi,

Since they are static content, try encoding the characters in your HTML page using the below table.

http://www.utf8-chartable.de/unicode-utf8-table.pl?utf8=oct&unicodeinhtml=dec&htmlent=1