Skip to content

Commit

Permalink
Add charset setting for YUI minification
Browse files Browse the repository at this point in the history
Prevents minified files from corrupting encoding
  • Loading branch information
nschonni committed Nov 9, 2012
1 parent 5419b6a commit aa98544
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build/build-tasks.xml
Expand Up @@ -152,7 +152,7 @@
</target>

<target name="-minify">
<yui-compressor warn="false" munge="true" preserveAllSemiColons="false" fromDir="${build.dir}" toDir="${build.dir}">
<yui-compressor warn="false" munge="true" preserveAllSemiColons="false" fromDir="${build.dir}" toDir="${build.dir}" charset="utf-8">
<include name="**/*.css" />
<include name="**/*.js" />
<exclude name="**/*-min.css" />
Expand Down

0 comments on commit aa98544

Please sign in to comment.