Skip to content
Commit 3031a36f authored by Michał Węgrzynek's avatar Michał Węgrzynek Committed by Backportbot
Browse files

Fix comments search result to work with multibyte strings



Currently, the searching in comments breaks up, if comments contain multibyte characters and string manipulation logic in getRelevantMessagePart happens to cut through them rendering the resulting string invalid (not UTF-8 compliant). This patch replaces all string manipulating functions in this code to multibyte aware ones.

Signed-off-by: default avatarMichał Węgrzynek <michal.wegrzynek@malloc.com.pl>
parent 458f4398
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment