node-webot / co-wechat-api

Wechat API. Support Async Functions
Other
724 stars 170 forks source link

buffer encode bug fixed #36

Closed helloyou2012 closed 8 years ago

helloyou2012 commented 8 years ago

buffer 默认不应该设置 encode 为 utf8 ,因为如果是图片的 buffer 是不能设置 encode 的

PS: JSON.parse 支持 buffer 的,且 encode 默认是 utf8

JacksonTian commented 8 years ago

LGTM

coveralls commented 8 years ago

Coverage Status

Coverage remained the same at 26.996% when pulling 2aed8c11967716aa00741f13d84c37a2ed58fd61 on helloyou2012:patch-1 into 73b332d50cf4f9517e4a9d8d7b4f80c91a4062bf on node-webot:master.

helloyou2012 commented 8 years ago

处理的好迅速 👍 😁

发个版本吧,现在线上的版本图片下载用不了~~

JacksonTian commented 8 years ago

v2.5.0