Restricted Words and Characters