Use utf-8 encoding in doctrine to remove bad characters in response