Revert "change to UTF8 wide char reading from EditLine"

This reverts commit 48ef0b7ef4d2e6621ccfabb06049e73ddaea6e2d.