When a UTF-8 character is split across multiple read()s, it is not decoded
correctly. This causes random screen corruption problems.
Execute: echo -ne '\0303\0241\0303'; sleep 1; echo -e '\0251'
Expected output: áé
Actual output: �
Gnome-terminal used to have the same issue a long time ago:
https://bugzilla.gnome.org/show_bug.cgi?id=154896