DOCTYPE problem?

Please support our JavaScript / DHTML / AJAX advertiser: PostgreSQL or MySQL? Compare and contrast the two most popular open source databases
Reply

Join Date: Apr 2007
Posts: 1
Reputation: CyberWrek is an unknown quantity at this point 
Solved Threads: 0
CyberWrek CyberWrek is offline Offline
Newbie Poster

DOCTYPE problem?

 
0
  #1
Apr 24th, 2007
Please help!

I've been putting together a webpage using CSS and a Javascript feature. Everything looks fine when I test the page from my PC. But when I upload it to my server, I get a bunch of odd symbols, like Asian writing.

I had this happen ages ago to a different page I was working on and found that the DOCTYPE I was using was wrong. It worked fantastic after I changed the DOCTYPE. But no matter how many different DOCTYPES I've tried on this page, it never looks like it should.

Is it a DOCTYPE issue or something else I've missed. Could someone maybe have a peek at the page and see?

http://www.directbc.ca/gallerytest/gallerytest.html

I've attached a jpeg of what the page should actually look like (the way it appears on my pc tests. Any help you can provide is appreciated.

Thanks in advance.

CW
Attached Thumbnails
worksonpc.jpg  
Reply With Quote Quick reply to this message  
Join Date: Dec 2004
Posts: 4,241
Reputation: peter_budo has much to be proud of peter_budo has much to be proud of peter_budo has much to be proud of peter_budo has much to be proud of peter_budo has much to be proud of peter_budo has much to be proud of peter_budo has much to be proud of peter_budo has much to be proud of peter_budo has much to be proud of peter_budo has much to be proud of 
Solved Threads: 491
Moderator
Featured Poster
peter_budo's Avatar
peter_budo peter_budo is offline Offline
Code tags enforcer

Re: DOCTYPE problem?

 
0
  #2
Apr 24th, 2007
You posted in wrong section (JSP) post will be moved to HTML section

To be fair never seen anything like this. What you may want to try is check what is stored in your html document on the server. Should be easy task with dremweaver if you use it. I'm just guessing that something happend while you been uploading your document...
With quick look on source code I did not find any visible errors except extra symbols in code
Last edited by peter_budo; Apr 24th, 2007 at 6:47 am.
Learn to see in another's calamity the ills which you should avoid.
Publilius Syrus
(~100 BC)

LJC - London Java Community, Graduate & Undergraduate Software Development Community, JAVAWUG (Java Web User Group), The London Android Group
Reply With Quote Quick reply to this message  
Join Date: Jul 2006
Posts: 1,091
Reputation: MattEvans is a jewel in the rough MattEvans is a jewel in the rough MattEvans is a jewel in the rough 
Solved Threads: 63
Moderator
Featured Poster
MattEvans's Avatar
MattEvans MattEvans is offline Offline
Veteran Poster

Re: DOCTYPE problem?

 
1
  #3
Apr 24th, 2007
Take out the ;charset=UTF-8 part of the content type meta header, and any UTF-8 content type header you may be sending at the server. If you are using an <?xml etc ?> directive, take out the charset (or is it encoding?) attribute.

Your page reports being encoded as UTF-16LE... But if you try to serve it as that when it's not encoded as that, then it wont help you much. Is that page the result of server side software ( i.e. PHP etc ) that might be adding anything to the page's HTTP header?

Can you post the original page source? In view source it comes up with those foreign characters also.
Plato forgot the nullahedron..
Reply With Quote Quick reply to this message  
Join Date: Jan 2007
Posts: 3,210
Reputation: MidiMagic has a spectacular aura about MidiMagic has a spectacular aura about 
Solved Threads: 165
MidiMagic's Avatar
MidiMagic MidiMagic is offline Offline
Nearly a Senior Poster

Re: DOCTYPE problem?

 
0
  #4
Apr 27th, 2007
The three garbage characters ahead of the doctype are appearing in the upper left corner of the display.
Daylight-saving time uses more gasoline
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:



Similar Threads
Other Threads in the JavaScript / DHTML / AJAX Forum
Thread Tools Search this Thread



Tag cloud for JavaScript / DHTML / AJAX
About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC