A complete mystery

This is a discussion on "A complete mystery" within the Web Page Design section. This forum, and the thread "A complete mystery are both part of the Design Your Website category.


 Subscribe in a reader

Go Back   Webforumz.com > Main Forums > Design Your Website > Web Page Design

Notices




Reply
 
LinkBack Thread Tools
  #1  
Old May 11th, 2006, 09:03
Junior Member
Join Date: Mar 2006
Age: 43
Posts: 47
Thanks: 0
Thanked 0 Times in 0 Posts
A complete mystery

I can't understand why, but when I run my site through the W3 validator it can't find the doctype and returns the following error

ü/strong>?þ<!DOCTYPE html PUBLIC "-//W3C//DTD...

Line 1 column 0: character "ÿ" not allowed in prolog.

Yet the code I have written as the doctype is:

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">

Does anyone know why this might happen?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote

  #2  
Old May 11th, 2006, 09:13
Up'n'Coming Member
Join Date: Nov 2005
Location: England
Posts: 71
Thanks: 0
Thanked 0 Times in 0 Posts
Re: A complete mystery

try

<!DOCTYPE html
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #3  
Old May 11th, 2006, 15:44
Highly Reputable Member
Join Date: Aug 2005
Location: 3rd Branch Up, Old Oak.
Age: 48
Posts: 658
Thanks: 0
Thanked 0 Times in 0 Posts
Re: A complete mystery

Doesn't it have to be in lower case for xhtml?
(Just guessing, haven't tried yet).
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #4  
Old May 11th, 2006, 16:56
Up'n'Coming Member
Join Date: Nov 2005
Location: England
Posts: 71
Thanks: 0
Thanked 0 Times in 0 Posts
Re: A complete mystery

The doctype I suggested came from the W3 site so it must be ok. Let us know if that worked, maybe give us a link if it doesnt so we see if theres anything else wrong.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #5  
Old May 11th, 2006, 17:13
Junior Member
Join Date: Mar 2006
Age: 43
Posts: 47
Thanks: 0
Thanked 0 Times in 0 Posts
Re: A complete mystery

I've tried both suggestions and got the same results.

The url is http://www.usdmanciano.com

It's an Italian football website which I'm about to rebuild for next season. The text is in Italian - would this make a difference?

Also, if I put www.usdmanciano.com into google, it shows the garbled text on the title bar.

When I submitted the site on the critique section of webforumz, a few people just saw garbled pages.

I'm a newcomer to webdesign and was enjoying myself until I started to discover the mysterious world of unicode.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #6  
Old May 11th, 2006, 18:55
Up'n'Coming Member
Join Date: Nov 2005
Location: England
Posts: 71
Thanks: 0
Thanked 0 Times in 0 Posts
Re: A complete mystery

When i go to that url all i get is the source code and its very messed up!! you have some serious issues going on. The only thing i can see is that you have

content="text/html;

in your content-type meta tag when it should end with a ", dont know if that would mess it up.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #7  
Old May 11th, 2006, 19:09
Up'n'Coming Member
Join Date: Mar 2006
Posts: 59
Thanks: 0
Thanked 0 Times in 0 Posts
Re: A complete mystery

I get the messed up page when I view it in FF 1.5.0.3 but I see the page when I open the link in IE 6.0.29 etc.

I saved the source through IE and viewed the page in FF but everything came out fine so this is one odd problem. Are you using a script or something that might effect ow the page is viewed in certain browsers? Or could it be a server problem?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #8  
Old May 15th, 2006, 10:04
Junior Member
Join Date: Mar 2006
Age: 43
Posts: 47
Thanks: 0
Thanked 0 Times in 0 Posts
Cool Re: A complete mystery

I'm still scatching my head.

When I use the text editor on my FTP site using 3d-FTP I see that the code is corrupted, with some garbled characters at the beginning, then spaces between all of the characters in the code. I have copied and pasted from the notepad onto the HTML text editor on my FTP site and this seems to cure the problem but is only a quick fix solution.

When I upload, I convert to binary as opposed to ASCII, because otherwise I get garbled japanese when I view the site in a browser.
Maybe this is the issue?

When I save my notepad codes as HTML files I have the option to save as Unicode, Unicode big endian, ANSI or UTF-8. I generally leave the default (ANSI) setting. Perhaps I should set it to UTF-8?

I feel like a blind man in a darkened room
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #9  
Old May 15th, 2006, 15:52
Up'n'Coming Member
Join Date: Mar 2006
Posts: 59
Thanks: 0
Thanked 0 Times in 0 Posts
Re: A complete mystery

I am not much help here since I also don't have any idea what it could be but you can try saving it in the different formats as you suggested just to eliminate it as a possibility you can also try uploading the file through the host instead of the FTP to eliminate the possibility of a faulty setting in the FTP. Maybe some one with more experience will come along and turn on the lights for the rest of us.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #10  
Old May 15th, 2006, 17:02
Most Reputable Member
Join Date: Apr 2006
Location: Cornwall, UK
Posts: 1,310
Thanks: 0
Thanked 0 Times in 0 Posts
Re: A complete mystery

I've just tried your site in Firefox and it views properly so I don't know if you have changed something.

It was also ok in IE and Opera.

I would note that when run through the W3C validator that it shows 191 errors, so there are certainly a few things that need to be taken care of.

I take it that amongst the things you want to get rid of in the rework is the use of tables as a layout tool and the use of none standard html tags.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #11  
Old May 15th, 2006, 21:44
Junior Member
Join Date: Mar 2006
Age: 43
Posts: 47
Thanks: 0
Thanked 0 Times in 0 Posts
Re: A complete mystery

I have reset everything to UTF-8 and it seems to have done the trick.

I built the site as my first ever HTML project and so it's full of errors, hence the rebuild. Thanks for the help.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Reply

Tags
complete, mystery

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Complete Site DezMarker Starting Out 9 Mar 26th, 2008 14:05
Complete Noobie Cambiker Starting Out 10 Oct 23rd, 2007 19:19
mystery non-appearing image jessixcate Graphics and 3D 1 Apr 14th, 2007 02:48
complete newbie jonrice Web Page Design 6 Apr 25th, 2005 15:58


All times are GMT. The time now is 19:50.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0 RC8
© 2003-2008 Webforumz.com : All Rights Reserved