Uploaded image for project: 'Bitbucket Server'
  1. Bitbucket Server
  2. BSERV-3179

Convert non-UTF8 files to UTF8 before generating the diff view

    XMLWordPrintable

    Details

    • Feedback Policy:
      We collect Bitbucket feedback from various sources, and we evaluate what we've collected when planning our product roadmap. To understand how this piece of feedback will be reviewed, see An updated workflow for server feature suggestions.

      Description

      If the files are encoded with non-UTF8 character encoding, the diff view will have invalid character due to git diff using UTF8 encoding.

      Need to convert non-UTF8 files to UTF8 before generating the diff view.

      *NOTE: This fix was enabled as an opt-in feature. A repository admin must enable "Transcode diff" for non-UT8 files to work. See this comment for details.*

        Attachments

        1. diffView.jpg
          diffView.jpg
          80 kB
        2. sjis.txt
          0.1 kB
        3. sourceView.jpg
          sourceView.jpg
          84 kB

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                klfoong Kah Loun Foong
              • Votes:
                36 Vote for this issue
                Watchers:
                27 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: