Uploaded image for project: 'Red Hat Decision Manager'
  1. Red Hat Decision Manager
  2. RHDM-1846

[DMN Designer] DMN Editor missing xml-prolog for UTF-8 encoding

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Major Major
    • None
    • None
    • DMN, Kogito Tooling
    • None
    • 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)
              rhn-support-abhumbe Abhijit Humbe
              Barbora Kapustova Barbora Kapustova
              Barbora Kapustova Barbora Kapustova
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: