You are here:  » Accents and Special Chars

Active Forum Topics

Accents and Special Chars

Submitted by marco.saiu on Fri, 2018-01-12 10:04 in

Hello David,

how to currect manage Accents and Special Chars.

I have Categories, Titles, Brands and Descriptions with accents letters.

I have various errors in this fields, i can sed this chars in my feeds but i like know your idea.

I can sed à with à ? Is currect for search ? Or next i lost in search perfomance?

Marco Saiu

Submitted by support on Fri, 2018-01-12 10:42

Hello Marco,

Users have previously asked me about translation of all accented characters to ASCII equivalent as that is the more common way to search - if you wanted to try this edit includes/tapestry.php and look for the following code at line 22:

    $text = str_replace("-"," ",$text);

...and REPLACE with:

    $text = str_replace("-"," ",$text);
    $text = iconv("UTF-8","ASCII//TRANSLIT",$text);

(and re-import)