0

I'm trying to send some russian text to *.properties file with Maven resource filtering(maven-resources-plugin) from profiles in pom. So, when i'm sending English symbols it works well, but when i'm trying to get values in Russian from parameters(located in properties file) - encoding brokes. Project encoding for all of the files in IntelliJ is set to UTF-8. In filtered file Russian text is showing normally. But when i'm getting it from file with getProperty method it shows me this: Encoding error?

Community
  • 1
  • 1
cat-ninja
  • 39
  • 12

1 Answers1

0
<delimiters>
  <delimiter>${*}</delimiter>
  <delimiter>@</delimiter>
</delimiters>

So the following would be filtered as well: env.name=@replacement.value@