Sfairadora

  • Reference Guide

text_to_binary

text_to_binary(txt, cp)
Converts a Text to the binary representation in the code-page cp (the Int type). The result is a value of the Binary type.

Notes

This function converts the Text type (containing line breaks). For conversion of String, use the string_to_binary function.
The current code page can be found in the data: document.settings.code_page.value.

See Also