Fix utf8 log search problem

Fix issue 99, add multibyte character support to prompt_input function. Chinese can be search in log-view now, other UTF8 based language should also work.