Task:Core Fix issue with invalid characters in validation message