2012-04-21 35 views
-1

The illegal characters seem to be in Japanese? How did this happen? here is my blank html with jQuery/bootstrap included, firebug gives me:jQuery illegal character showing up when trying to add jQuery and bootstrap

illegal character line 1 jQuery..min.js

...潡琨昮捳猨愬挫扸孥崩⥼簰⤻牥瑵牮⁤⬢灸≽晵湣莹潮⁢漨愩筶慲⁢㵣⹣牥慑故汥浥湴⠢摩瘢⤻扨⹡灰敮扛桩汤⡢⤬戮楮湥版呍䰽愮潵瑥版呍䰻牥瑵牮⁢⹦楲獴䍨楬摽晵湣莹潮⁢渨愩...

+1

I'd start by adding in all the necessary tags like a doctype and a closing head tag. – j08691 2012-04-21 21:44:54

+0

@j08691 didn 't help – Tom 2012-04-21 21:52:55

+0

http://validator.w3.org/check?uri=http%3A%2F%2Ftomgolan.com%2FToms%2Findex.html&charset=%28detect+automatically%29&doctype=Inline&group=0 – j08691 2012-04-21 21:54:51

回答

1

Server response begins with 2 "strange" characters before the DOCTYPE declaration (U+02C7 and U+02DB)

+0

where did that came from? – Tom 2012-04-21 22:00:38

+0

just erased the doctype but i'm getting the same error – Tom 2012-04-21 22:02:06

+0

They are still there - either your text editor or the server itself must be adding them... try uploading the same file to a different server or writing a new file with a different editor – giorgiga 2012-04-21 22:06:32