header option

The header option of the for xml clause is extended with a new encoding value:

header = {yes | no| encoding}

With header=encoding, the header is:

<?xml version = "1/0" encoding = "UTF-16?">

Using the encoding value indicates that the XML header should be included, and that it should contain an XML encoding declaration.

The default header option is no if:

Otherwise, the default header option is encoding.