multer icon indicating copy to clipboard operation
multer copied to clipboard

Pass the defCharset down to Busboy

Open yokomotod opened this issue 8 years ago • 0 comments

Hi. This PR is to enable defCharset option in busboy init step, and handle multipart/form-data which contains non-utf8 encoding fields

(related to issue #320 , similar with PR #450 )

Purpose: I would like to handle multipart/form-data which contains various encoding fields.

Now busboy decode field text is utf8 when the field doesn't have charset. To handle unknown encoding text in later process, it has to be encoded as 'binary' so we need to pass defCharset: 'binary' to busboy.

yokomotod avatar May 10 '17 08:05 yokomotod