davidB / yuicompressor-maven-plugin

maven's plugin to compress (Minify / Ofuscate / Aggregate) Javascript files and CSS files using YUI Compressor
http://davidb.github.io/yuicompressor-maven-plugin/
GNU Lesser General Public License v2.1
122 stars 48 forks source link

Option to specify aggregation output encoding #80

Open debueb opened 9 years ago

debueb commented 9 years ago

Currently aggregated files are written to the file system using the default system charset. It would be great if the developer could specify the output encoding of aggregated files in the configuration for systems on which the developer cannot change the default charset. Alternatively the encoding parameter that may already be specified (for input files) could be reused

davidB commented 9 years ago

Files are aggreated as bytes (no text conversion), so I guess the incoming (to aggreation) has the issue. Do you use the encoding configuration of compress ?