Uploaded image for project: 'Kogito'
  1. Kogito
  2. KOGITO-6144

DMN Editor missing xml-prolog for UTF-8 encoding

XMLWordPrintable

    • False
    • False
    • Hide

      save a DMN model with the DMN Editor in VSCode on Win10

      the UNIX file command guesses the actual encoding UTF8,

      but notice the "Yes-Certidão" is not maintained correctly when opening text editor using the platform's default.

      Show
      save a DMN model with the DMN Editor in VSCode on Win10 the UNIX file command guesses the actual encoding UTF8, but notice the "Yes-Certidão" is not maintained correctly when opening text editor using the platform's default.

      I assume the DMN Editor always saves content as UTF-8.
      In this case, when the Editor runs on Win10 which might have different OS Platform defaults, it is even more required to insert correct xml-prolog, such as

      <?xml version="1.0" encoding="UTF-8"?>
      

      without xml-prolog and without UTF8 bom, one can only rely on heuristics which not being deterministic may fail on different platform.

              rh-ee-jomarko Jozef Marko (Inactive)
              mmortari@redhat.com Matteo Mortari
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: