ashchan/node-upyun — pull request #2 by wuyuntao (2012-04-10 03:01:00+00:00)
Title: Add encoding parameter when uploading text files

Currently, we uploads all files as binary which may has some issues when uploading text file contains CJK characters.

So how about provide an optional parameter to specify encoding, like

``` JavaScript
upyun.uploadFile('/path/to/file.txt', '中文', callback, 'utf-8');
```