Skip to content

Conversation

helloyou2012
Copy link
Contributor

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

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

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

> PS: `JSON.parse` 支持 buffer 的,且 encode 默认是 utf8
@JacksonTian
Copy link
Member

LGTM

@coveralls
Copy link

coveralls commented Sep 21, 2016

Coverage Status

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

@JacksonTian JacksonTian merged commit bf7169c into node-webot:master Sep 21, 2016
@helloyou2012
Copy link
Contributor Author

处理的好迅速 👍 😁

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

@JacksonTian
Copy link
Member

v2.5.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants