issue959 fix unicode bug