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

Commit problems with German characters

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Medium
    • Resolution: Cannot Reproduce
    • 1.6.21, 1.9.6
    • None
    • 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

    Description

      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.

      Attachments

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

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

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