Uploaded image for project: 'FishEye'
  1. FishEye
  2. FE-7115

Perforce: Submitted UTF-8 file with BOM header shows up as binary in repository browser

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • High
    • 4.7.0
    • 4.1.1, 4.2.0, 4.3.1, 4.4.1, 4.4.2, 4.6.0
    • None

    Description

      Summary

      Whenever a file with a utf8 Perforce filetype containing a BOM header is submitted to depot, Fisheye shows this file as binary.

      Steps to Reproduce

      1. Submit a file with utf8 Perforce filetype containing a BOM header to the depot
      2. Wait until this file is indexed
      3. Try to open this file in repository browser
      4. Fisheye will say that the file is binary

      Expected Results

      Fisheye should show the file source

      Actual Results

      Fisheye is saying that the file is binary, offering the option to download it.

      Perforce versions

      1. 2015.2
      2. 2016.2

      Workarounds

      • Change the Perforce filetype to text with removing BOM header

      Attachments

        Issue Links

          Activity

            People

              mtokarski@atlassian.com Marek Tokarski
              fkraemer Felipe Kraemer
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: