将你的resin设定为支持中文字符(gb2312)
也就是在resin.conf重的<http-server>改为<http-server character-encoding='gb2312'>
在程序里就不用转换为unicode了,试试,不行再讨论