Showing posts with label SquishIt. Show all posts
Showing posts with label SquishIt. Show all posts

Tuesday, February 14, 2012

SquishIt with UTF-8 Support


In order to let SquishIt Support UTF-8 javascript files use the following:
<%= Bundle.JavaScript()
        .Add("~/Scripts/test.js")
        .WithAttribute("charset", "utf-8")
        .Render("~/Scripts/combined.js")
    %>