Use correct encoding for special XP class names