normalizeBOM
Convert binary data to a target encoding with BOM (Byte Order Mark) handling. See Chapter 22.
data(required): binary data to converttargetEncoding(required): target encoding (e.g.,"UTF-8","UTF-16")addBom(required): boolean – whether to add BOM to the output
utlx
{
output: normalizeBOM($input.xmlBytes, "UTF-8", false)
}