Fix issues with special characters in captcha