mehdi-fathi / eloquent-filter

Eloquent Filter is a package for filter data of models by the query strings. Easy to use and fully dynamic.
https://mehdi-fathi.github.io/eloquent-filter/
MIT License
430 stars 43 forks source link

LIKE's search sometimes changes the value's character format #197

Open brusacla opened 1 year ago

brusacla commented 1 year ago

When I make a call to my API with paramters to use LIKE filter it happens that the format of the passed value is cahnged to not UTF8. This problem causes the error "Malformed UTF-8 characters, possibly incorrectly encoded"

Example of a call to my API's backend: api/clienti?cliente[LIKE]=%CALOI%

mehdi-fathi commented 1 year ago

@brusacla I think this error is related to the database side, not the package.