Uploaded image for project: 'Sourcetree for Windows'
  1. Sourcetree for Windows
  2. SRCTREEWIN-3810

Commit problems with German characters

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Cannot Reproduce
    • Icon: Medium Medium
    • None
    • 1.6.21, 1.9.6
    • Git
    • git version 1.9.5 (embedded) / git version 2.8.1
      Windows 8 (German) / Windows 7 (Japanese) / Windows 10 (Japanese)
      Java version 8 update 31

    • Severity 2 - Major

      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.

        1. Clipboarder.2015.10.08.png
          292 kB
          j_krawczyk
        2. Clipboarder.2016.09.12.png
          80 kB
          j_krawczyk
        3. SampleFile.pas
          3 kB
          j_krawczyk
        4. utf_encoding.PNG
          32 kB
          j_krawczyk
        5. windows_encoding.PNG
          23 kB
          j_krawczyk

              mcorsaro Mike Corsaro (Inactive)
              f99bc6f71d5f j_krawczyk
              Votes:
              3 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated:
                Resolved:

                  Estimated:
                  Original Estimate - 5h
                  5h
                  Remaining:
                  Remaining Estimate - 5h
                  5h
                  Logged:
                  Time Spent - Not Specified
                  Not Specified