Page MenuHomePhabricator

Broken multi-byte characters presented in the end of search snippets
Closed, ResolvedPublicBUG REPORT

Description

Steps to replicate the issue (include links if applicable):

  • On a site without fancy search extensions, create a page with only multi-byte characters.
  • Search for something on that page, and check the results.

What happens?:
With broken multi-byte characters:

Screenshot 2023-03-31 161000.png (790×1 px, 119 KB)

What should have happened instead?:
Without broken multi-byte characters:

Screenshot 2023-03-31 161425.png (832×1 px, 146 KB)

Software version (skip for WMF-hosted wikis like Wikipedia):

Other information (browser name/version, screenshots, etc.):

Event Timeline

Restricted Application added a subscriber: Aklapper. · View Herald Transcript

Change 904593 had a related patch set uploaded (by Func; author: Func):

[mediawiki/core@master] SearchHighlighter: Avoid broken multi-byte characters

https://gerrit.wikimedia.org/r/904593

Func renamed this task from Broken multi-byte characters presented in the search results to Broken multi-byte characters presented in the end of search snippets.Mar 31 2023, 8:24 AM

Change 904593 merged by jenkins-bot:

[mediawiki/core@master] SearchHighlighter: Avoid broken multi-byte characters

https://gerrit.wikimedia.org/r/904593

Gehel claimed this task.
dcausse added a subscriber: Gehel.