fix 1.9.3 encoding issue