How to iterate list of Charmaps in charmap.All and compare names?

I’d like to write a little command-line utility to decode/encode streams of text, like iconv, but in Go. The user will provide the encoder and decoder names and the utility will check them against charmap.All to make the user args are valid before trying to decode/encode the stream. I can iterate charmap.All and print the… Read More How to iterate list of Charmaps in charmap.All and compare names?