Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Output XML uses always ISO-8859-1 character encoding #10

Open
jliuhtonen opened this issue Feb 3, 2015 · 0 comments
Open

Output XML uses always ISO-8859-1 character encoding #10

jliuhtonen opened this issue Feb 3, 2015 · 0 comments

Comments

@jliuhtonen
Copy link

TextGroupXmlWriter calls the XML.save method without the encoding parameter. This causes the XML implementation to fall back to default encoding that is ISO-8859-1.

This will cause the writing of TEST-*.xml files to throw a java.nio.charset.UnmappableCharacterException if, for example, the test names contain characters that cannot be represented within ISO-8859-1 character set.

A good alternative to consider would be to choose the JVM's file encoding from system property file.encoding and provide an option to override this via configuration.

@jliuhtonen jliuhtonen changed the title Output XML uses always ISO-8859 character encoding Output XML uses always ISO-8859-1 character encoding Feb 3, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant