File Functions
When you use the following encoding File functions, you must use an encoding constant, or the function defaults to the machine’s default encoding scheme. This includes nesting File() functions.
The following examples show how to use the encoding parameter in File functions.
FileRead("someFile.txt", ENC_UTF8)
FileWrite("someFile.txt", someString, ENC_UTF8)
FileAppend("someFile.txt", someString, ENC_UTF8)
FileWrite("someFile.txt", FileRead("someOtherFile.txt", ENC_UTF8), ENC_UTF8)
See Also
Last modified date: 12/03/2024