Escape developer name umlauts in a Maven POM file?

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&eacute;r</name>
-----------------------^

Should I just type the accents as such and assume maven uses UTF-8 decoding?

Answers


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.


Need Your Help

How can I get my generic method to work?

c# generics lambda expression extension-methods

I am writing a small extension to my WPF viewModel base class that allows me to define dependencies between properties in a cleaner way than the standard method of raising multiple PropertyChanged ...

About UNIX Resources Network

Original, collect and organize Developers related documents, information and materials, contains jQuery, Html, CSS, MySQL, .NET, ASP.NET, SQL, objective-c, iPhone, Ruby on Rails, C, SQL Server, Ruby, Arrays, Regex, ASP.NET MVC, WPF, XML, Ajax, DataBase, and so on.