DataControl.Encoding

From Xojo Documentation

Property (As TextEncoding )
aDataControl.Encoding = newTextEncodingValue
or
TextEncodingValue = aDataControl.Encoding

New in 5.5

Supported for all project types and targets.

When the DataControl retrieves a string value, it will set the Encoding of the string and when you update or insert a string value using the DataControl. The default Encoding is UTF8.

Sample Code

The following example specifies a text encoding using the Encodings module.

Me.Encoding = Encodings.MacRoman