[Users] [Bug 4224] Characters showing as underscores

noreply at thewildbeast.co.uk noreply at thewildbeast.co.uk
Mon Aug 26 19:33:21 CEST 2019


https://www.thewildbeast.co.uk/claws-mail/bugzilla/show_bug.cgi?id=4224

--- Comment #2 from Andrej Kacian <ticho at claws-mail.org> ---
This is caused by our html-to-text parser not being aware of multi-byte
characters. It parses the messages piece by piece, and sometimes multi-byte
character ends up split between the two separate parts. That causes rest of the
message to be displayed as underscores.

This is easily observable by increasing or decreasing value of SC_HTMLBUFSIZE
in html.c by just one. The message(s) which were displayed incorrectly before,
will be displayed correctly now, or the underscores will be shown starting from
different position in their text.

Unfortunately, the parser works in a very convoluted way, and I can't find a
way to easily fix this without completely rewriting it. Hopefully someone else
can.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the Users mailing list