generic multi-byte support added by buffering text runs. Refs: #182. Mostly as proposed by luowy. Plus small code cleanups.
generic multi-byte support added by buffering text runs. Refs: #182.
Mostly as proposed by luowy.
Plus small code cleanups.

Signed-off-by: Josef Templ <728e923cfc3fe8323845faf68caa3d182912642a@gmail.com>

BlackBoxCenter/blackbox,BlackBoxCenter/blackbox,BlackBoxCenter/blackbox,BlackBoxCenter/blackbox