Characters and contact transformations