Optional
encodingOptional
fromIndicates that a user action triggered the opening, e.g. via mouse or keyboard use. Default is true.
Optional
overwriteOverwrite the file to create if it already exists on disk. Otherwise an error will be thrown (FILE_MODIFIED_SINCE).
Optional
overwriteIf set to true, will enforce the selected encoding and not perform any detection using BOMs.
The encoding to use when updating a file.