Version: 2.2.1 +
The formula "ReadFileWithEncoding' returns the contents of a text file with a certain encoding, as a text string. The encoding serves as a the parameter of the function. This formula is used for instance when there are special characters in the file you want to read. If you don't need the encoding, you could also use the formula 'ReadFile'.
Here you fill in the full path to the file
Here you fill in the encoding you want to use
Suppose you want to read the following data:
The name Léa Mattéo contains an accent symbol that makes the encoding necessary. When the formula 'ReadFile' is used for this data, the accent symbol will not be recognized.Therefore the formula 'ReadFileWithEncoding' has to be used.
Fill in the entire path of the xml file
To see why encoding is necessary now, try reading the file with the 'ReadFile' formula, and compare the results.