Uploaded image for project: 'Bitbucket Cloud'
  1. Bitbucket Cloud
  2. BCLOUD-10097

Diff shown wrong when file encoding is changed (win-1251 -> UTF-8)

    XMLWordPrintable

Details

    Description

      I had files with win-1251 encoding. These files were shown as «binary» in web-interface. That is not a problem per se, since we can define binary file as «file which is not UTF-8 compliant».

      The problem appeared when I converted these files to UTF-8. For this commit these files are listed in the list «Files changed», but differences for the files are displayed as «File contents unchanged». That can make me think that files are really not changed.

      Moreover, for one short file the differences were displayed, and they look like that I changed readable to non-readable text (but in fact I changed non-readable to readable).

      P.S. In SourceTree differences are displayed correctly.

      Attachments

        Activity

          People

            Unassigned Unassigned
            735167961123 SAnton
            Votes:
            2 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: