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.
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
- IOException if Encoding is Nil.
Sample Code
Using Xojo.Core
inputStream.Encoding = TextEncoding.ASCII
inputStream.Encoding = TextEncoding.ASCII