When I use the search a the forum I imported from phpBB 3.2 in 2018, the results excerpts don’t have accented characters, whereas the full message contains accents.
It doesn’t happen in recent messages, so I believe this weird little bug was created during the importation.
I rebuilt the HTML through Discourse interface and it didn’t resolve the issue. It’s not a serious one though, a lot of French people even don’t care about accents, I wouldn’t mind if it couldn’t be resolved.
I’m just curious about where the problem comes from.
I just tried this on another French forum - which was not imported - and topics from around that time do indeed not contain accented characters in their search excerpts.
Weird is that when I look at German forums, old topics do contain accented characters in their search excerpts
Look at the last line of this log
Author: Daniel Hollas <email@example.com>
Date: Tue Oct 23 03:10:33 2018 +0200
FIX: Strip accents from search query
4481836 introduced accent stipping in search_indexer,
but we need to strip it from the query itself as well
TODO in search with diacritics:
- Still need to fix excerpts on search page