fix bug that no result is shown when there is some non-utf8 outputs. Skip non-utf8 output as a workaround.