Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

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!



0 answers

Suggest an answer

Log in or Sign up to answer
Community showcase
Published 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...

4,357 views 4 8
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