Xojo.IO.TextInputStream.Encoding

From Xojo Documentation

Property (As Xojo.Core.TextEncoding )
aXojo.IO.TextInputStream.Encoding = newXojo.Core.TextEncodingValue
or
Xojo.Core.TextEncodingValue = aXojo.IO.TextInputStream.Encoding

Supported for all project types and targets.

Gets or sets the default encoding for the Read, ReadAll and ReadLine methods.

Exceptions

Sample Code

Using Xojo.Core
inputStream.Encoding = TextEncoding.ASCII