Characteristic measures of symbolic dynamical systems