Chapter 13. Environment Variables

The CHARSET environment variable can be used to override what character set to be used for decoding incoming data on the standard input, and to encode data to the standard output. If your system is set up correctly, the application will guess which character set is used automatically. Example usage:

$ CHARSET=ISO-8859-1 idn --punycode-encode
...