Hi again
I want to insert an array of Persian and Arabic dictionary array and get the badwords
The text cleanness is discovered correctly but the badwords function returns unknown characters
$bad = Profanity::blocker('فحش است')->dictionary([['language' => 'fa' , 'word' => 'فحش' ]])->badWords();
returns
array (size=1) 0 => array (size=2) 'language' => string 'fa' (length=2) 'word' => string '������' (length=6)
Please help me with this problem
Thank you
Hi again
I want to insert an array of Persian and Arabic dictionary array and get the badwords
The text cleanness is discovered correctly but the badwords function returns unknown characters
$bad = Profanity::blocker('فحش است')->dictionary([['language' => 'fa' , 'word' => 'فحش' ]])->badWords();returns
array (size=1) 0 => array (size=2) 'language' => string 'fa' (length=2) 'word' => string '������' (length=6)Please help me with this problem
Thank you