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
- RuntimeException if name is empty or name is invalid or unsupported.
Sample Code
Gets the US ASCII encoding from its name: