native_encodings#
Return the list of encoding names the registry knows about.
Synopsis#
my @all = encodings();
my @utf = encodings('utf'); # names starting with "utf"
my @all = encodings(':all'); # same as no argument
Names are sorted and deduplicated; each canonical name appears
exactly once regardless of how many aliases it has. Use
resolve_alias or find_encoding to turn any of these into a
canonical name or an encoding object.