PHP Sdk returns "invalid query formed" when searching value with special characters

PHP Sdk returns "invalid query formed" when searching value with special characters

Hi 

I'm using searchRecordsByCriteria in v2 api. When I search record by a value with special characters the api returns "invalid query formed". How do I handle this. What should I do with the search value for the API to accept it?


Regards!