Force .js files saved in ANSI encoding to show in UTF-8 on IIS 7.5

Posted by Xcarpa on Server Fault See other posts from Server Fault or by Xcarpa
Published on 2012-09-27T14:50:20Z Indexed on 2012/09/27 15:39 UTC
Read the original article Hit count: 215

Filed under:
|
|
|
|

I'm migrating a web system that now works on windows server 2003 IIS 6, to IIS 7.5 on windows 2008 server This system generates javascript files with accented characters in ANSI (Portuguese - Brazil). These javascripts shows for example alert messages. In IIS 6 I have no problem with that, but now using IIS 7.5 if those files are not in UTF-8, the accented characters do not appear correctly. Do we have any way to force these files, even in ANSI, to be processed by IIS 7.5 as UTF-8 ? Thank you ! Cheers Xcarpa

© Server Fault or respective owner

Related posts about iis6

Related posts about iis7.5