3

I mean, the post "title search" is work fine, but can't handle special characters like ö, ő, ó, ű, í, etc.

Instead of search these, simple skip these characters in the search strings.

I mean, the post "title search" is work fine, but can't handle special characters like ö, ő, ó, ű, í, etc. Instead of search these, simple skip these characters in the search strings.

3 comments

[–] Polsaker 1 points (+1|-0) Edited

A proper overhaul of the search system is planned, but as long as the charset/collation is correctly configured you should be able to search special characters just fine

Edit: well looks like it doesn't, I wasn't aware of this

[–] pembo210 1 points (+1|-0) Edited

For now the search goes through a regex filter here and here. You can add the extra characters there and it should allow them.

[–] victorrest [OP] 0 points (+0|-0)

Thanks, I already tried these, but not succeed.

What is the good format for edit this line?

re.sub(r'[^A-Za-z0-9.,\-_\'" ]+',

I tried this:

re.sub(r'[^A-Za-z0-9.,öőűúóüíáé?\-_\'" ]+',

But not helped, still not search correctly to these characters.