api-allocine-helper icon indicating copy to clipboard operation
api-allocine-helper copied to clipboard

Méthode search : corrige l'encodage du texte recherché

Open ghost opened this issue 7 years ago • 0 comments

Dans la méthode search(), un texte contenant un accent était mal encodé. La fonction strtolower() remplaçait les accents par des caratères spéciaux (comme é pour le é), donc la fonction strtr() ne servait à rien et la fonction utf8_encode() n'arrangeait rien.

ghost avatar Apr 14 '18 20:04 ghost