source tree encoding problem osx

Osx v. Sierra

Source Tree Version 2.4 (89)


Before I used PC/Win7 with repos in a linux with smb share witout encoding problems.
Now using the same linux repo opened mounted with sshfs into the macbook 

Now when making changes into files (php, utf-8) the comment window shows the ä and ö charachters wrong

//liian pitkiä taulunimiä, katkaise

If i change the file to iso-encoding, still shows them wrong with other invalid charachter. In windows was no problem.


Can I make commit without messing everythin up ?

Can I fix this with some setting ?


3 answers

Also the preview window is blinking 5-12 times when changing into source tree window.

If you do git diff from terminal, are the characters still messed up?

It's possible the source tree's preview is just buggy but the actual data that git itself is working with will be fine.

You should check the git diff like thinsoldier suggested. If the problem is just with the SourceTree preview, it will definitely be safe to commit - SourceTree doesn't use it's own code to modify your repository, it just calls git commands.

If the characters are messed up in the git diff, the this isn't a SourceTree question, it's a git question. Someone here might still be able to answer, but you'll find a broader audience of experts by posting the question on a stack exchange site or in a git irc.

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Oct 23, 2018 in Sourcetree

Tip from the team: configure your repos for hosting goodness!

Supported Platforms macOS Windows We recently introduced support for additional hosting services such as GitHub Enterprise, GitLab (Cloud, Community Edition, Enterprise Edition), and...

966 views 4 2
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you