When changing from ISO-8859-1 to UTF-8 in a pre-existing html document (1.0 transitional).
Is it better to change the xml declaration or is it better to remove the xml declaration and just use the meta tag to assign UTF-8? Is there a preferred method?
I had always thought that the xml declaration was always required regardless, but i have seen some documents without it and those have the meta tag.
<?xml version="1.0" encoding="UTF-8"?>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />