Text.utf_8
utf_8on_problems
Documentation
Returns a vector containing bytes representing the UTF-8 encoding of the input text. This is useful for low-level operations, such as binary data encoding and decoding.
Arguments
on_problems
: Specifies the behavior when a problem occurs during the function. By default, a warning is issued, but the operation proceeds. If set toReport_Error
, the operation fails with a dataflow error. If set toIgnore
, the operation proceeds without errors or warnings.
Examples
Get the UTF-8 bytes of the text "Hello".
"Hello".utf_8