Character of a representation