Opens a file for writing and sets the file’s encoding. If the file does not exist, Open creates it; if the file exists, Open overwrites it.
<HFMwEncodedFileWriter>.Open bstrFileName, lEncoding
The type of encoding to apply to the file. Valid values are represented by the HFMConstants type library constants listed in Extracted File Encoding Constants. |
The following function writes the specified text stream to the specified file, with ANSI encoding applied.