don't use ascii escaping
decode Resources
write as CDATA