]> source.dussan.org Git - jgit.git/commitdiff
Force jgit.sh to use UTF-8 encoding on Mac 54/4754/1
authorRobin Rosenberg <robin.rosenberg@dewire.com>
Tue, 6 Dec 2011 23:42:35 +0000 (00:42 +0100)
committerRobin Rosenberg <robin.rosenberg@dewire.com>
Tue, 6 Dec 2011 23:44:46 +0000 (00:44 +0100)
For some obscure reason the platform encodng in Java on Macs
is MacRoman. OS X used UTF-8 as the default encoding so set
the encoding property in jgit.sh.

Change-Id: I08182c2f8512f799178cee70bcc28d6ee2b9c2b0

org.eclipse.jgit.pgm/jgit.sh

index f18e85fe45967f03dbb53dd90f449080c4214798..6b9ce40e9bc0d167ac00bed0dc181394ab5d9a13 100644 (file)
@@ -80,6 +80,7 @@ Darwin)
                        -Dcom.apple.mrj.application.growbox.intrudes=false
                        -Dapple.laf.useScreenMenuBar=true
                        -Xdock:name=JGit
+                       -Dfile.encoding=UTF-8
                '
        fi
        ;;