SourceTree International support

Does SourceTree support international characters? I tried to open source files with Greek comments and instead of greek letters I get weird characters.

3 answers

This widget could not be displayed.

Hi Apostolos,

SourceTree supports UTF-8/Latin-1 encodings which generally support the majority of required characters. If you use different encodings then you'll get unexpected characters. Perhaps try saving your files in one of these encodings provided they support the characters you need and it should work fine.

We don't currently have any plans to support other encodings, however.

Cheers

I tested sourcetree mac 1.6.2.2 version, I tried to chang global setting of GIT with [core.precomposeunicode true]. As you know, embedded GIT version of Sourcetree is 1.7.11, this version cannot support core.precomposeunicode option, So I set to system version of GIT(1.8.3.2). But, font failure in description of Log view. you can check this problem with image in this link. https://dl.dropboxusercontent.com/u/5311767/screenshot.png I founded windows version has same problem. please fix this.

Unfortunately, The file I was refering to are source files from Delphi 7, in which case I cannot make a change the encoding of those files. And even if I could, this would be a tedious job, re-enconding all my source files every time I make a change.

I cannot see where ST supports that utf-8 you claim. Even opening plain text files, I get weird characters instead of greek letters.

Hi Apostolos,

It would suggest that the file either isn't in that encoding or has mixed encodings within the file (this isn't uncommon). We definitely support UTF-8/Latin-1 character sets, otherwise most people wouldn't be able to read files. Additionally, we have support for Japanese which would require this of us.

Perhaps you could open up an issue on jira.atlassian.com with some example files that we could take a look into? This way I could load the files into SourceTree myself and take a look to see what's going on.

Thanks!

This widget could not be displayed.

Nevermind...

Too much hassle for such a basic thing. Every other git/mercurial client I've used had no problem with greek letters. I will just go back to Tortoise then...

This widget could not be displayed.

You currently have no plans to support other encodings? What kind of response is that? Developers work the world over, some working in different languages or on legacy projects where different encodings are found. At least providing a way to allow users to set the encoding used when displaying diffs would be preferred... Surely it cannot be that difficult to implement a pre-parser...

Suggest an answer

Log in or Sign up to answer
Community showcase
Published May 30, 2018 in Sourcetree

Tip from the team: configuring Git or Mercurial in Sourcetree

Supported Platforms macOS Windows To make using Sourcetree as simple yet powerful as possible we embed (bundle) dependencies such as Git, Git LFS, and Mercurial. We strive to keep these...

878 views 2 3
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