gruntjs/grunt-contrib-copy — pull request #94 by mingzhi22 (2013-08-17 11:17:23+00:00)
Title: If an encoding is specified, overwrite grunt.file.defaultEncoding.

```javascript
/*global module:false*/
module.exports = function (grunt) {
grunt.file.defaultEncoding = 'gbk';

grunt.initConfig({
copy: {
'all': {
options: {
encoding: 'utf8'
},

files: [
{
expand: true,
cwd: 'template/',
src: ['*.tpl', 'aladdin/**', 'config/**'],
dest: '../build/template/'
}
]
}
}
});
};
```