Xojo.IO.TextOutputStream.Encoding
From Xojo Documentation
Property (As Xojo.Core.TextEncoding )
aXojo.IO.TextOutputStream.Encoding = newXojo.Core.TextEncodingValue
or
Xojo.Core.TextEncodingValue = aXojo.IO.TextOutputStream.Encoding
Supported for all project types and targets.
or
Xojo.Core.TextEncodingValue = aXojo.IO.TextOutputStream.Encoding
Supported for all project types and targets.
The encoding used for writing the text. Raises an exception if set to Nil.
Sample Code
Change the encoding to ASCII:
Using Xojo.Core
outputStream.Encoding = TextEncoding.ASCII
outputStream.Encoding = TextEncoding.ASCII