Make the InputHandler able to deal with utf8
Make the InputHandler able to deal with utf8

This is still very untested, but it looks like it works.
It also made the code much more complicated..

opp11/calcr