Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,293,273
Community Members
 
Community Events
165
Community Groups

SourceTree rejects discarding a file with corrupted Unicode characters

Edited

Hi everyone,

I've been using SourceTree over the last give years now and I really enjoy it, but sometimes I get to the point of frustration when SourceTree cannot discard chunks or files with corrupted Unicode characters. It happens for example when saving a file that had Chinese characters in different encoding and then saving it to another type of encoding. When I try to discard hunks or selected lines that contains these corrupted encoding characters, SourceTree rejecting from discarding and creates `file.h.rej`.

Is there a workaround to this, so I can discard changes without getting these issues? or is it an actual bug?

Thanks a lot in advance for taking the time reading my post!

Regards,

Gilad

0 answers

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Sourcetree

Bug Fix: Sourcetree for Windows authentication error when updating to app password

Hello Sourcetree users!!! With the recent removal of Bitbucket Cloud account passwords for app passwords (please see our Bitbucket Cloud community post for details on why we made this change for se...

60,233 views 127 26
Read article

Community Events

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

Find an event

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

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you