Command: TextFileEncoding
- Updated2023-02-21
- 2 minute(s) read
Command: TextFileEncoding
Specifies the character encoding of a file. The function uses the Byte Order Mark (BOM) of the file to specify the character encoding.
Input Parameters
FileName |
Specifies the filename. |
Return Parameters
| ReturnValue | The return value is an Integer variable type. Contains the character encoding
ExamplesThe following example specifies the character encoding of a file:
Related FunctionsCommand: TextFileEOL | Function: FR | Function: TextFileEOF | Function: TextFileError | Function: TextFileErrorTxt | Function: TextFileSeek |

