Composer: Text split for wrapping can produce invalid UTF-8 text
To reproduce:
-
Compose a new email message, e.g. to yourself
-
In the body, type Ctrl+Shift+u, 1f408, Enter (or copy-paste this character:
🐈 ) -
Copy-paste the resulting character ~200 times (so that the line wraps around - make sure line wrapping is enabled)
-
Send email
-
Receive garbage
This is quite horrible to say the least. It caused me to lose several really long emails already that have cost hours to write. It is extremely frustrating since you never know when it happens. I think that supplementary plane characters factor into it, but I'm not completely sure.
Tested in Evolution 3.36.1 on Manjaro
Edited by Milan Crha