Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

2
  • 2
    Thanks, this solved an issue I was having too. Still it is weird: the above test - and mine - doesn't read test data from a file system. It is embedded in the code file of the test, so I would expect only the project.build.sourceEncoding property to have any effect.
    – Kristiaan
    Commented Dec 1, 2020 at 16:06
  • Many things in maven seem like they were finally done but are repeated in other stages. It might look your file was compiled with UTF-8 but for tests it is recompiled with Windows -1252 or so... Commented Dec 2, 2020 at 23:44