If I convert a UTF-8-encoded XML document (which has an XML prolog declaring the encoding to be UTF-8) to Latin-1 using xmllint, will there be any data loss?
xmllint --encode iso-8859-1 --output test-latin1.xml test-utf8.xml
(the data will eventually be displayed as ISO-8859-1-encoded HTML)