Go Back   PCMech Forums > Help & Discussion > Web Design / Development

Need Some Help? Type Your Keywords Here:

Reply
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
Old 02-16-2005, 08:53 AM   #1
It can never be too quiet
 
Stryker's Avatar
 
Join Date: May 2004
Location: Burlington, Ontario
Posts: 1,090
Encoding Issue (charset=iso-8859-1)

Hi folks,
I am seeing a few strange characters at the top of my page when viewing it in Mozilla browsers (I.E. is OK). Here's the deal:

• Using Content-Type meta tag with charset=iso-8859-1
• Not using any "out of the ordinary" characters on my page

When the page loads in FF, I see the characters "" at the very top left corner. When I view the source from the browser page, these 3 characters are the very first in the code (even before the -html- tag). If I search for these characters in my source code without going through the browser, it is nowhere to be found.

I know it's an encoding issue, because when I remove the meta tag for the Content-Type, the characters disapear. The only thing I'm using in the entire page other than standard letters and numbers are a couple of -nbsp- but I don't see how that would be causing a problem unless there is a different way to code it with this content type.

Anyone know how I can get rid of these strange characters without blowing away my Content-Type line?
Thanks very much for any suggestions,
Stryker
__________________
Athlon XP 2800+ • Asus A7N8X (nVidia Nforce2) • Radeon 9600 Pro 256MB • 2x512MB KVR DDR PC3200 Dual Channel • 120GB Seagate 7200RPM 8MB • 160GB WD 7200RPM 8MB • Liteon DVD±RW DL • AOpen DVD±RW DL • Vantec Ion2 350W PSUSend me your picture for the Member Photo Gallery
Stryker is offline   Reply With Quote
Old 02-17-2005, 10:28 PM   #2
Member (10 bit)
 
Join Date: Jul 2002
Location: University of California, Santa Barbara
Posts: 800
I use utf-8 as the charset on my site, I'm pretty sure it's the same as 8859-1. You could try that and see if it helps.

Also run your page through the W3C Validator for good measure, it might pick up some small error you missed. http://validator.w3.org/
mattg2k4 is offline   Reply With Quote
Old 02-18-2005, 05:28 AM   #3
It can never be too quiet
 
Stryker's Avatar
 
Join Date: May 2004
Location: Burlington, Ontario
Posts: 1,090
Quote:
Originally Posted by mattg2k4
I use utf-8 as the charset on my site, I'm pretty sure it's the same as 8859-1. You could try that and see if it helps.

Also run your page through the W3C Validator for good measure, it might pick up some small error you missed. http://validator.w3.org/
AAAAHHHAAAAA!!!!
Thanks very much mattg2k4!! The validator caught a "," that was of the wrong encoding type and the second I over-typed it with a standard "," the issue dissapeared. I guess that's what I get for copying text from a MS Word doc.

Thanks again,
Stryker
Stryker is offline   Reply With Quote
Reply

Bookmarks

Still Need Help? Type Your Keywords Here:


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

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 On
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -5. The time now is 07:17 AM.
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2012, vBulletin Solutions, Inc.
SEO by vBSEO 3.6.0 PL2