Adding quotes to invalid characters.