Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » EGit / JGit » JGit support for default encoding
JGit support for default encoding [message #1775820] Mon, 06 November 2017 19:15 Go to next message
Hung Lam is currently offline Hung LamFriend
Messages: 1
Registered: November 2017
Junior Member
There does not seem to have a way to pass a default encoding to Git when performing git init. The file for example, .git/config is always created with UTF-8 encoding. JGit always tries to create the file under UTF-8, and only fall back to default encoding if it failed to do so. Am I missing anything?

Re: JGit support for default encoding [message #1775995 is a reply to message #1775820] Wed, 08 November 2017 23:25 Go to previous message
Matthias Sohn is currently offline Matthias SohnFriend
Messages: 1026
Registered: July 2009
Senior Member
I think you are right that JGit does not provide such an option. JGit uses UTF-8 default encoding.
Previous Topic:Can one choose the location of the checked-out workspace copy?
Next Topic:Inconsistency between Egit and GitHub
Goto Forum:
  


Current Time: Sun Jun 24 13:19:41 GMT 2018

Powered by FUDForum. Page generated in 0.01603 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top