Closed GoogleCodeExporter closed 9 years ago
Do you use the maven plugin or the filter?
Original comment by alex.obj...@gmail.com
on 23 Jul 2011 at 9:20
Original comment by alex.obj...@gmail.com
on 23 Jul 2011 at 9:21
Also, could you provide more details about your configuration, processors used,
etc. Thanks!
Original comment by alex.obj...@gmail.com
on 23 Jul 2011 at 9:39
[deleted comment]
Not able to reproduce it on wro4j-examples (branch called 'dsl'). Waiting for
more details regarding the processors you are using and if you are running
wro4j as a maven plugin or a filter.
Original comment by alex.obj...@gmail.com
on 23 Jul 2011 at 5:13
We get the error running as the Maven plugin with
<wroManagerFactory>ro.isdc.wro.extensions.manager.standalone.YUIStandaloneManage
rFactory</wroManagerFactory>
and as a filter with these initParams
<init-param>
<param-name>uriLocators</param-name>
<param-value>servletContext,classpath,url</param-value>
</init-param>
<init-param>
<param-name>preProcessors</param-name>
<param-value>bomStripper,cssImport,cssUrlRewriting,lineNumbers,semicolonAppender,yuiJsMinAdvanced,yuiCssMin</param-value>
</init-param>
<init-param>
<param-name>postProcessors</param-name>
<param-value>cssVariables</param-value>
</init-param>
(the lineNumbers is a custom processor that add PHP Minify type original line
#s (be happy to contribute))
Processor is Intel Mac
Original comment by gcon...@gmail.com
on 25 Jul 2011 at 7:12
Could you try to remove the lineNumbers processors to see if it breaks the
encoding? I'm trying to reproduce it locally and the result is as expected (no
encoding problem) for the processors you've supplied.
Still, I'm able to reproduce the problem for maven plugin.
Original comment by alex.obj...@gmail.com
on 25 Jul 2011 at 9:26
Original comment by alex.obj...@gmail.com
on 26 Jul 2011 at 8:35
Original comment by alex.obj...@gmail.com
on 30 Jul 2011 at 1:26
Apparently the BomStripperPreProcessor messed the encoding. As a result of
removing this preProcessor and removing BOM characters by default (when reading
resource content), the encoding issue disappears.
Original comment by alex.obj...@gmail.com
on 30 Jul 2011 at 1:32
We just upgraded to 1.4.2 and this issue seems to have returned
Original comment by ghi...@gmail.com
on 22 Dec 2011 at 6:38
Posted a fix here
https://github.com/alexo/wro4j/pull/17
Original comment by gcon...@gmail.com
on 23 Dec 2011 at 12:13
Thanks for the patch, it was included in 1.4.3 release.
Original comment by alex.obj...@gmail.com
on 24 Dec 2011 at 6:11
Original issue reported on code.google.com by
ghi...@gmail.com
on 22 Jul 2011 at 8:58