How to put enctype=”multipart/form-data” in categories form?

You’ll need the $taxonomy_term_edit_form_tag action.

function add_post_enctype() {
    echo ' enctype="multipart/form-data"';
}
add_action( 'category_term_edit_form_tag' , 'add_post_enctype' );