setCodeText

setCodeText(object, object, object)

Encodes the Unicode codeText into a byte sequence using the specified encoding. UTF-8 is the most commonly used encoding. If the encoding supports it and insertBOM is set to true, the function includes a [byte order mark (BOM)](https://en.wikipedia.org/wiki/Byte_order_mark#Byte-order_marks_by_encoding).

setCodeText(codeText, encoding, BoM)
ParameterTypeDescription
codeTextobjectCodeText string
encodingobjectApplied encoding
BoMobject

See Also