Xojo.Core.TextEncoding.FromIANAName
From Xojo Documentation
Shared Method
Xojo.Core.TextEncoding.FromIANAName(name As Text) As Xojo.Core.TextEncoding
Supported for all project types and targets.
Supported for all project types and targets.
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: