scrip now is able to handle non-ascii char