Quantcast
Channel: Microsoft Dynamics AX Forum - Recent Threads
Viewing all articles
Browse latest Browse all 72043

XmlDocument UTF-8 encoding without BOM (Byte Order Mark)

$
0
0

AX 2012 R2 CU7

I am observing that the default output of an Xml document generated in AX is UTF-8 with BOM (Byte Order Mark).

The receiver of the xml file cannot (automatically) process the document because of the 3 BOM characters at the front of the xml file.

The xml file is created using XmlDocument::newBlank().

newBlank has an optional string parameter of encoding which is defaulted to 'utf-8'

How do I change the encoding to utf-8 without BOM?  Is there an xslt for default xml documents that can be changed?


Viewing all articles
Browse latest Browse all 72043

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>