From Xojo Documentation

You are currently browsing the old Xojo documentation site. Please visit the new Xojo documentation site!

Property (As TextEncoding )
aReportField.DefaultEncoding = newTextEncodingValue
TextEncodingValue = aReportField.DefaultEncoding

New in 2011r1

Supported for all project types and targets.

The TextEncoding of the control. The default is UTF-8.


If you need to change this, do so in the BeforePrinting event using a statement such as:

Me.DefaultEncoding = Encodings.UTF16