This lets you override the default codec of 'windows-1252'. As an input option the codec should correspond to the encoding of the input file. As an output option it sets the encoding of the output file.