I had a web page template that was basically just:
<html>
<body>...</body>
</html>
But text in the body was (incorrectly) being interpreted as latin1 by my browser. So I changed it to:
<?xml encoding="utf-8"?>
<html>
<body>...</body>
</html>
This fixed the problem and the text was interpreted correctly as UTF-8 in my paticular browser (Chrome 17.x on Linux 3.x), however…
What is the best way (most current browser-compatible and forward-compatible) to specify that the text in a html page is encoded in UTF-8?
1 Answer