fromIdentifier

Creates an encoding from its identifier; unrecognized identifiers become Custom.