Inserting '¡' into an XML file.

I have an XML file which has the data for the various languages I’d like to implement in my game. But I have a problem with Spanish and its syntax. They use ¡ when they start an exclamation, and the normal ! when it ends.

I tried to write & iexcl; (without the space,this editor converts it into the symbol) in my XML file but I get this error:

XmlException: Reference to undeclared entity 'iexcl'.  Line 127, position 16.

It’s been hard, and it’s quite difficult to make too…

This is the solution:

  • instead of & iexcl; I wrote ¡ directly into the XML file.