kist Wrote:How can i make it work for foreign letters? Like UTF8?
I could fix it to show html special chars in the result pages:
Code:
$content = preg_replace('/&#?[a-z0-9]+&{2,8};/i', '', stripslashes(strip_tags(html_entity_decode($data->content, ENT_QUOTES, 'UTF-8'))));
i just added a +& to show the html chars. But i can't make it work when i type a foreign letter in the search box, it shows no results. It works when i type the html code for that letter.