[Debugger] Set the encoding of the error/output readers.