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

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: High
    • 4.7.0
    • Affects Version/s: 4.1.1, 4.2.0, 4.3.1, 4.4.1, 4.4.2, 4.6.0
    • Component/s: None
    • Severity 2 - Major
    • 3

      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

            Assignee:
            Marek Tokarski
            Reporter:
            Felipe Kraemer
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: