Open luispereira opened 7 years ago
I'm receiving a file from the server and parsing an xml file with some especial characters like © on a value e.g.:
©
<string name="copyrightText">Something ©</string>
© and\u00a9 works but not ©
©
\u00a9
But it always crash and burns when trying to parse it. I'm missing something here? Since & is correctly parsed I expected the same happened to the copyright symbol.
&
@luispereira The © reference is not valid XML, only valid HTML. See here for all valid XML and HTML codes.
I'm receiving a file from the server and parsing an xml file with some especial characters like
©
on a value e.g.:<string name="copyrightText">Something ©</string>
©
and\u00a9
works but not©
But it always crash and burns when trying to parse it. I'm missing something here? Since
&
is correctly parsed I expected the same happened to the copyright symbol.