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