Diff doesn't detect UTF-8 without BOM

XMLWordPrintable

    • Type: Suggestion
    • Resolution: Fixed
    • 1.1.1
    • Component/s: General
    • None
    • Environment:
      Windows 8.1 Preview Build 9431, standalone build

      The diff section of the application will show all text as ASCII when a file is encoded in UTF-8 without BOM. The way I confirmed that it was ASCII was by switching to ASCII mode inside Notepad++ and I got an identical set of garbled text. I attached images of one instance of this in the diff view, and in Notepad++. Furthermore, UTF-8 without BOM shows a miscellaneous character as the first character of the document. Adding a BOM caused the application to detect the file correctly, however using BOM with UTF-8 is not recommended by the Unicode standard (section 2.6).

        1. DiffView.png
          DiffView.png
          71 kB
        2. NotepadView.png
          NotepadView.png
          81 kB

            Assignee:
            Steve Streeting (Inactive)
            Reporter:
            Jim Borden
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:
              Resolved: