Fixed encoding with "Use byte order mark"

This uses a byte order mark in the inbound message to determine the encoding.

  • Byte Order Mark: FE FF

    Endian Order: Big

    Encoding: UTF-16BE

  • Byte Order Mark: FF FE

    Endian Order: Little

    Encoding: UTF-16LE

  • Byte Order Mark: EF BB BF

    Endian Order: N/A

    Encoding: UTF-8

Messages that start with one of these byte order marks automatically use the associated encoding.

The byte order mark is not required. Any message that does not start with a byte order mark falls back to using UTF-8 encoding from the Encoding field. With these settings, the outbound encoding is always UTF-8 and outbound messages do not have a byte order mark.