Xojo.Core.TextEncoding.FromIANAName

From Xojo Documentation

Shared Method

Returns an encoding given its IANA name as specified in IANA's Character Sets document.

Exceptions

Sample Code

Gets the US ASCII encoding from its name:

Var encoding As Xojo.Core.TextEncoding
encoding = Xojo.Core.TextEncoding.FromIANAName("US-ASCII")