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

Sourcetree can't handle stressed symbols in a file that is no longer in utf8 encoding

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Low
    • None
    • 3.4.13
    • General, UX
    • None
    • Severity 3 - Minor

    Description

      If the file has an encoding that allows for properly stressed letters (Windows 1252, for example), when attempting to discard or stage either the file or a hunk with the symbols, Sourcetree fails.

      Consider CRÉDITO o DÉBITO (the properly stressed form of Credit/Debit in spanish). When attempting to stage the file or a hunk of a file with those words, or even discard the changes, gives the message error show in the screenshots.

      The file before was in utf8, but a change in the development pipeline required that the file was changed to another encoding.

      Even just trying to stage the changes that are in other parts of the file, if the changes are too many, it gives the same error anyway.

      Despite the error saying that the error is in git apply, I was able to commit the other changes using SublimeMerge

      Attachments

        Issue Links

          Activity

            People

              698877135425 Mukesh Kumar
              e74d8288185a David Añez
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated: