I am getting some errors when trying to run yuicompressor.
it says:
[error] 1:2:illegal character
[error] 1:2:syntax error
[error] 1:3 illegal character
Could this be because I am saving it as the wrong encoding or something?
I have seen issues with YUICompressor and files that are saved in UTF-8 with the Byte Order Mark (BOM). The default for Visual Studio 2008 seems to be to save them this way. To solve it, I had to save the file with a different encoding. In VS2008, this was File - Advanced Save Options - Encoding : Unicode (UTF-8 without signature).
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With