arturobernalg opened a new pull request, #1456:
URL: https://github.com/apache/maven-scm/pull/1456

   git stores commit messages as UTF-8 internally, but the process output is 
read back with CommandLineUtils.executeCommandLine(), which decodes it using 
the JVM's default charset with no override available. On any platform whose 
default charset isn't UTF-8, non-ASCII commit messages in the generated 
changelog get corrupted.
   
   Pass --encoding=<platform charset> to git log so it transcodes its UTF-8 
output into whatever charset will actually be used to decode it.
   
   Fixes #1118
   
   ---
   
   To make clear that you license your contribution under
   the [Apache License Version 2.0, January 
2004](https://www.apache.org/licenses/LICENSE-2.0)
   check one of the following:
   
   - [x] I hereby declare this contribution to be licensed under the [Apache 
License Version 2.0, January 2004](https://www.apache.org/licenses/LICENSE-2.0)
   - [x] I hereby declare that I have filed an [Apache Individual Contributor 
License Agreement](https://www.apache.org/licenses/icla.pdf).


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to