Writes the text to a file in UTF-8 without a Byte Order Mark.
Syntax
Smartsite SXML | Copy Code |
---|---|
filesystem.writetext(string path, string data) filesystem.writetext(string path, string data, enum encoding) filesystem.writetext(string path, string data, enum encoding, boolean writeByteOrderMark) |
Parameters
Name | Data Type | Description |
---|---|---|
path | String | The file path. |
data | String | The string written to the file. |
encoding | Enum |
The encoding used to write the file.
Enum values:
|
writeByteOrderMark | Boolean | True if a Byte Order Mark should be written to the file, false otherwise. |
Return Value
None.