Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRobin Rosenberg2011-12-06 23:42:35 +0000
committerRobin Rosenberg2011-12-06 23:44:46 +0000
commit9ffbe444f8057bdd6fa0f2e79d8014944a529591 (patch)
tree03e4ab04472637974d22391ab339ac86a7250e4e /org.eclipse.jgit.pgm
parentb4495d1005e6e03e921ed116614ec45499f1923d (diff)
downloadjgit-9ffbe444f8057bdd6fa0f2e79d8014944a529591.tar.gz
jgit-9ffbe444f8057bdd6fa0f2e79d8014944a529591.tar.xz
jgit-9ffbe444f8057bdd6fa0f2e79d8014944a529591.zip
Force jgit.sh to use UTF-8 encoding on Mac
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
Diffstat (limited to 'org.eclipse.jgit.pgm')
-rw-r--r--org.eclipse.jgit.pgm/jgit.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/org.eclipse.jgit.pgm/jgit.sh b/org.eclipse.jgit.pgm/jgit.sh
index f18e85fe45..6b9ce40e9b 100644
--- a/org.eclipse.jgit.pgm/jgit.sh
+++ b/org.eclipse.jgit.pgm/jgit.sh
@@ -80,6 +80,7 @@ Darwin)
-Dcom.apple.mrj.application.growbox.intrudes=false
-Dapple.laf.useScreenMenuBar=true
-Xdock:name=JGit
+ -Dfile.encoding=UTF-8
'
fi
;;

Back to the top