Hi all.
We are using a Git repository to store our powerbuilder sources and a Teamcity server to build a setup from it.
Now, when I commit changes to Git from inside Powerbuilder, this commit contains an "encoding UTF - 8".
And that's a problem for Teamcity. When such a commit is the last one done, it always encounters an "IllegalCharsetNameException" error:
[08:32:50]Collecting changes in 1 VCS root
[08:32:50]Failed to collect changes, error: Error collecting changes for VCS repository '"https://gitlabconject.planon-fm.com/conjectFM/Client.git#refs/heads/master" {instance id=19, parent internal id=2, parent id=Client_Http1040469conjectFMClientGitRefsHeadsMaster, description: "https://gitlabconject.planon-fm.com/conjectFM/Client.git#refs/heads/master"}' Collecting changes failed: java.nio.charset.IllegalCharsetNameException: UTF - 8
[08:32:50]Failed to collect changes, error: Error collecting changes for VCS repository '"https://gitlabconject.planon-fm.com/conjectFM/Client.git#refs/heads/master" {instance id=19, parent internal id=2, parent id=Client_Http1040469conjectFMClientGitRefsHeadsMaster, description: "https://gitlabconject.planon-fm.com/conjectFM/Client.git#refs/heads/master"}' Collecting changes failed: java.nio.charset.IllegalCharsetNameException: UTF - 8
[08:32:50]Build finished
You see that encoding in the list of commits. In the screenshot below the third last is such a commit done with powerbuilder:
When I do the git commit not from inside Powerbuilder but with others tools (e.g. Sourcetree or TortoiseGit), as you can see the last and second last commit, there is no such "encoding UTF - 8" written to the commit and Teamcity has no problems with it.
Does anyone know, why Powerbuilder writes "UTF - 8" to the commit?
Shouldn't it be "UTF-8" correctly, if any?
How can I prevent this by changing settings in Powerbuilder?
Thanks for any hints.
Rolf