TextEncoding.Format
From Xojo Documentation
Read-Only Property (As Integer )
A format for the Base text encoding.
Notes
Used by Unicode for defining which format of Unicode you wish to use.
Example
This example returns the Base, Format, and Variant values for the text in TextArea1.