[ https://issues.apache.org/jira/browse/SCM-834?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16579865#comment-16579865 ]
Jamel commented on SCM-834: --------------------------- In my case I'm not sure the title is right. It seems that the consumer receives UTF-8 stream (git returns UTF-8 by default, isn't it ? ) but interpreted in the system charset (which is not UTF-8 for some JDK, french and I assume German). I nomore have access to the pom in question, but I assure you we have explored all the options of the config and it doesn't work. Looking at code, it seems that programmer (in his first programming round) is not aware at all of the charset (nor pom config) when calling executable and reading responses. So I think it's source code problem. You can see GitChangeLogCommand class as example > Git Commit encoding is platform-dependent instead of UTF-8 > ---------------------------------------------------------- > > Key: SCM-834 > URL: https://issues.apache.org/jira/browse/SCM-834 > Project: Maven SCM > Issue Type: Bug > Components: maven-scm-provider-gitexe > Affects Versions: 1.9.4 > Reporter: Tobias Gruetzmacher > Priority: Major > Fix For: waiting-for-feedback > > > When doing a release with the maven-release-plugin, if you have a > non-ASCII-character in your commit message (setting scmCommentPrefix to > "lösung" for example), the resulting commit message has a different encoding > on different operating systems. If it isn't UTF-8 (on Windows, for example), > git complains with > {code} > Warning: commit message did not conform to UTF-8. > You may want to amend it after fixing the message, or set the config > variable i18n.commitencoding to the encoding your project uses. > {code} > AFAICS, the fix is pretty simple: Just add "UTF-8" to the call of fileWrite > in > [GitCheckInCommand.java|https://github.com/apache/maven-scm/blob/master/maven-scm-providers/maven-scm-providers-git/maven-scm-provider-gitexe/src/main/java/org/apache/maven/scm/provider/git/gitexe/command/checkin/GitCheckInCommand.java#L74] -- This message was sent by Atlassian JIRA (v7.6.3#76005)