This character () gets added to my javascript file. i am using visual studio 2010.
has any one come accross this issue?
This link explains my problem and a solution
http://forums.silverlight.net/t/144306.aspx
Cheers
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
The characters added are BOM characters,are not advised for utf-8. Visual studio by default saves javascript files with “Unicode(UTF-8 with signature)- Codepage 65001” encoding, this encoding adds the UTF-8 byte order mark at the beginning of the file. ie9 and chrome do not have a problem with it but firefox, opera and safari completely break….
so to fix it follow the solution in this document
http://forums.silverlight.net/t/144306.aspx and select the encoding option “Unicode(UTF-8 without signature)- Codepage 65001”.
Hope this Helps.
Cheers