wp_set_object_terms() without accents

Just thought I’d point out, your call to remove_accent() is incorrect, you are missing the s off of accents.

Example from codex:

$text = "Hoy será un gran día";
echo remove_accents($text);

Echo result: Hoy sera un gran dia

tech