•
•
•
•
What is DaniWeb IT Discussion Community?
You're currently browsing the JavaScript / DHTML / AJAX section within the Web Development category of DaniWeb, a massive community of 402,589 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 2,358 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our JavaScript / DHTML / AJAX advertiser: Lunarpages Web Hosting
Views: 1445 | Replies: 3
![]() |
•
•
Join Date: Apr 2007
Posts: 1
Reputation:
Rep Power: 0
Solved Threads: 0
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
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
•
•
Join Date: Dec 2004
Location: London or Slovakia
Posts: 2,230
Reputation:
Rep Power: 10
Solved Threads: 270
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
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 5:47 am.
Learn to see in another's calamity the ills which you should avoid.
Publilius Syrus
(~100 BC)
If we helped you to solve your problem, answered your question please mark your post as SOLVED.
Publilius Syrus
(~100 BC)
If we helped you to solve your problem, answered your question please mark your post as SOLVED.
•
•
Join Date: Jul 2006
Location: Deptford, London
Posts: 943
Reputation:
Rep Power: 5
Solved Threads: 47
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.
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.
If it only works in Internet Explorer; it doesn't work.
![]() |
•
•
•
•
•
•
•
•
DaniWeb JavaScript / DHTML / AJAX Marketplace
•
•
•
•
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
- Ajax and Doctype problem (ASP.NET)
- Learning PHP but problem with script (PHP)
- Regular Expression Matching New Line (Perl)
- Padding and margins (HTML and CSS)
- Desktop Background Hijacked-NEW Problem(! Smart Security) (Viruses, Spyware and other Nasties)
Other Threads in the JavaScript / DHTML / AJAX Forum
- Previous Thread: Transfer Data from Pop-up to Main Page
- Next Thread: textarea problem with javascript



Linear Mode