The problem occurs mostly, when I am trying to stage hunks containing non-Latin (in my case German) characters. In editor they are visible as "�".
In SourceTree I receive the following error message:
'git apply' failed with code 1: Checking patch xxx... error: while searching for: OVNI_PREFIX = 'ovni_'; // Standardname f�r Videoschnittstellen-DLL error: patch failed: xxx:148 error: xxx: patch does not apply
This problem seems do not appear while using git commands git add -p or git reset -p. I can stage changes using terminal, but attempt to unstage it using SourceTree fails also.
Please follow also this discussion.
The screenshot I included in the attachment.
- blocks
-
SRCTREEWIN-169 Add support for extended ANSI code pages in addition to UTF-8
- Closed
- is related to
-
SRCTREEWIN-6209 Japanese characters is garbled in diff view and cannot discard hunk/line with error
- Long Term Backlog
- relates to
-
SRCTREEWIN-14389 Sourcetree can't handle stressed symbols in a file that is no longer in utf8 encoding
- Gathering Impact