Skip to main content

Enso_File.read_text

read_textencoding on_problems

Aliases: load text, open text

Documentation

Reads the whole file into a Text, with specified encoding.

Arguments

  • encoding: The text encoding to decode the file with. Defaults to UTF-8.
  • on_problems: Specifies the behavior when a problem occurs during the function. By default, a warning is issued, but the operation proceeds. If set to Report_Error, the operation fails with a dataflow error. If set to Ignore, the operation proceeds without errors or warnings.