TextEncoding.Base

From Xojo Documentation

Read-Only Property (As Integer )
IntegerValue = aTextEncoding.Base

Supported for all project types and targets.

The type of encoding. The entry for TextConverter contains the possible values of Base.

Example

This example returns the Base, Format, and Variant values for the text in TextArea1.

Dim t As TextEncoding
t = Encoding(TextArea1.Text)
If t <> Nil then
Label1.Text = "Base=" + Str(t.Base)
Label2.Text = "Format=" + Str(t.Format)
Label3.Text = "Variant=" + Str(t.Variant)
End If