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

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

    XMLWordPrintable

Details

    • 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 our Implementation of New Features Policy.

    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. sourceView.jpg
          sourceView.jpg
          84 kB
        3. sjis.txt
          0.1 kB

        Issue Links

          Activity

            People

              Unassigned Unassigned
              klfoong Foong (Inactive)
              Votes:
              36 Vote for this issue
              Watchers:
              27 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: