Characters of irrelevant deformations