metafacture-core icon indicating copy to clipboard operation
metafacture-core copied to clipboard

Add option for encode-marcXml and encode-xml for escaping unicode characters

Open TobiasNx opened this issue 1 year ago • 9 comments

https://metafacture.org/playground/?flux=inputFile%0A%7Copen-file%0A%7Cas-lines%0A%7Cdecode-json%0A%7Cencode-xml%28rootTag%3D%22collection%22%29%0A%7Cprint%0A%3B&data=%7B%22name%22%3A+%22Open+Educational+Resources+-+\u000Beine+kritische+Einf%C3%BChrung%22%7D

When special unicode characters are part of the transformed metadata encode-xml and encode-marcXml might transform the metadata to invalid xml.

There should be the possibility to create valid xml at least by adding an option for escping unicode characters.

TobiasNx avatar Apr 30 '24 10:04 TobiasNx