Hello,
Recently I have been required to work with a method called ExportToStream.
The situation asks me to export a UTF-8-encoded JSON as a XML to be imported on old releases. Here's how I attempted to fulfill this request:
do $System.OBJ.ExportToStream("path/to/my/json/file.json", .stream,,,"UTF8")
The file is indeed encoded as UTF-8 and although the XML header denotes that it has been exported as UTF8:
<?xml version="1.0" encoding="UTF8"?




