I've a huge XML file, which has a list of software names and it's versions. One of it is having a non-English character ó as in the below snippet. If i open the XML file with the browser it doesn't display anything. But if i just remove this non-English character ó , the entire XML is displayed.
<Item Software="SDK de comprobación de Visual Studio 2012 - esn" Version= "12.0.30501" />
This clearly means that the non-english character ó is causing this to happen.
This is how my XML file looks like:
<?xml version="1.0" encoding="UTF-8"?>
<Softwares>
<Item Software="SDK de comprobación de Visual Studio 2012 - esn" Version= "12.0.30501" />
<Item Software="Notepad++" Version= "72.0.45" />
<Item Software="MyApp" Version= "7.8.45" />
..................................
</Softwares>
Does it have to do something with the encoding? I get the same result even with no encoding mentioned which i think defaults to utf-8 again. Also i tried giving UTF-16 as format which also doesn't work. I'm pretty new to XML.