This solved problems with UTF-8 characters in Emacs term and ansi-term.

Tio solvis problemojn pri UTF-8-literoj en
Emakso-term kaj ansi-term.