in_enc:CharEncoding.t -> out_enc:CharEncoding.t -> OOChannel.char_output_channel -> OOChannel.char_output_channel