I have xml files with ©
symbols. But SQL can't parse such XMLs, is there a workaround for this?
This query:
declare @XmlResponse as xml;
select @XmlResponse = '<?xml version="1.0" encoding="utf-8"?><Response>©</Response>'
select @XmlResponse as myxml
Returns an error:
Msg 9420, Level 16, State 1, Line 15
XML parsing: line 1, character 49, illegal xml character