https://bugs.kde.org/show_bug.cgi?id=506570

--- Comment #14 from Malte S. Stretz <[email protected]> ---
This probably won't completely fix this issue but I think a small change could
be added here
https://invent.kde.org/frameworks/kfilemetadata/-/blob/master/src/extractors/plaintextextractor.cpp?ref_type=heads#L72
with a small sanity check:

* The size of a file encoded in UTF-16 has to be dividable by 2
* The size of a file encoded in UTF-32 has to be dividable by 4

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to