|
| |
|
|
Starhugger
Posts: 494 Joined: 4/12/2005 Status: offline
|
RE: Choose an encoding? - 3/5/2007 13:34:21
quote:
Ah Ha! OK if it's your homepage that's on the web, open it in FP, click the code tab at the bottom. Take out this line right at the top <?xml version="1.0"?> Huh?? I don't see that line anywhere. I even did a search of both my page in FP and in View Source from the online page (I know FP often puts stuff in the code when you upload it). T'ain't nowhere. Where did you see it? I didn't upload the changed code page. It's just on my harddrive. But the original module in question is on my home page online, yes. quote:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> seems to be a lot of people getting that line in their code at the moment, what's going on? Did you copy that from somewhere? and, why have you got that doctype in there? Your code is nowhere near XHTML1 valid. Strict? I figured with all the gunk FP puts in (and with all my modifications making my pages such a dog's breakfast), my code couldn't be assumed to be "strict" anything. Yes, I'm sure I copied it from somewhere, probably a couple of years ago. Possibly from here. I remember discussing it here a long time ago. I desperately wish someone would come up with a utility that would take the code of a page, analyze it, and tell you exactly what DocType you need! I think W3C does something close but not exactly. Anyway, changing the DocType doesn't change how FP handles the module (error on opening) or the external js file (error on preview). SH
|
|
|
|
Starhugger
Posts: 494 Joined: 4/12/2005 Status: offline
|
RE: Choose an encoding? - 3/5/2007 14:12:52
quote:
Just as a test, for heavens sake don't upload the page as it may go nuts, take the doctype out and see of you still get the encoding problem. Oh, that's one of the first things I tried. The only thing that seems to make the difference is if I remove the lunar phases module. quote:
Really with FP generated code you should be using HTML 4 transitional. Is that the DocType you suggested a few posts ago? SH
|
|
New Messages |
No New Messages |
Hot Topic w/ New Messages |
Hot Topic w/o New Messages |
Locked w/ New Messages |
Locked w/o New Messages |
|
Post New Thread
Reply to Message
Post New Poll
Submit Vote
Delete My Own Post
Delete My Own Thread
Rate Posts
|
|
|