turn on utf8 flag for chinse input to fit json encode