Reputation: 67290
In the <developers>
section of a pom.xml
, if a name contains non-7-bit-ascii characters, e.g. German umlauts (ä
) or French accents (é
)—do I need to escape them somehow? Because if I view the file with Mozilla, I get an error:
XML Parsing Error: undefined entity
<name>Foo Bér</name>
-----------------------^
Should I just type the accents as such and assume maven uses UTF-8 decoding?
Upvotes: 2
Views: 201
Reputation: 109567
One cannot use HTML named entities in XML. Use UTF-8 and you get full WYSIWIG. If encoding is not listed in it defaults to UTF-8.
Upvotes: 3