I'm developing an application with
I'm developing an application with
Apparently it is a problem in the Bundling transformer . Try using another Bundle Transformer , like Yui , and see what happens.
Example usage:
var cssBundle = new StyleBundle("~/Content/css").Include(
"~/Content/bootstrap.css",
"~/Content/site.css");
cssBundle.Transforms.Add(new CssTransformer(new YuiCssMinifier()));
bundles.Add(cssBundle);
I had the same problem.
Not to use a new engine ( as @CiganoMorrisonMendez quoted ) the solution was to correctly set the < in> responseEncoding and requestEncoding of the application.
Before I used:
<system.web>
<globalization requestEncoding="Windows-1252"
responseEncoding="Windows-1252"
responseHeaderEncoding="Windows-1252" />
...
</system.web>
Changing to UTF-8, the Glyphicons worked normally:
<system.web>
<globalization requestEncoding="utf-8"
responseEncoding="utf-8"
responseHeaderEncoding="utf-8" />
...
</system.web>
If you do not have the globalization tag configured in your application's web.config , it is probably configured directly in IIS, at: SeuServer > .Net Globalization > Encoding .