When reading a text file, which is better

Hello,

When “reading” a text file, which is better…

TheFileContents = TheFileContents.DefineEncoding(Encodings.UTF8)
TheFileContents = TIS.ReadAll
TIS = Nil

or

TheFileContents = TIS.ReadAll
TheFileContents = TheFileContents.DefineEncoding(Encodings.UTF8)
TIS = Nil

Lennox

The first one does nothing for you, but you could add the encoding to the ReadAll statement.