Skip to content
Commit 9c3b5fe4 authored by Michał Węgrzynek's avatar Michał Węgrzynek
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 bb8ac6ca
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