Bugfix, application crashed on unicode input.