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