Yahoo Compressor affects encoding

Jun 4, 2010 at 12:38 PM

Hello. I've got js file which is UTF-8 encoded and contains some cyrillic characters. When I compress it using JavaScriptCompressor.Compress(result) these characters become something unreadable. What's wrong with it?

Jun 7, 2010 at 12:18 AM

Hello HiveHicks.

I wonder if this is the same issue that some else has reported:


?? possibly?

Jun 7, 2010 at 7:39 AM

The issue you mentioned helped me find out the problem. I just used another overload for JavaScriptCompressor.Compress, which accepts encoding as one of the parameters, so everything's OK now. Thanks.