in reply to An ampersand is not well-formed XML data?
s/([^\x1f-\x80])/"&#".ord($1).";"/ge; [download]