Function “writeFileUTF8”
function writeFileUTF8(path, contents)
Writes a UTF-8 encoded file
This function writes the given UTF-8 encoded string into the given file.
Parameters
| Name | Type | Description |
|---|---|---|
path | string | Path or URL of the file to write |
contents | string | Text to write into the file |