Handle percents (unicode?) in class names