Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

HTML Forum


You are currently viewing our HTML Forum as a guest. Please register to participate.
Login



Post a Project »

Find a Professional HTML Freelancer!

Find a Freelancer to help you with your HTML projects

FREE Outsourcing eBook!

Reply
The tag <?xml version="1.0" encoding="iso-8859-1"?>
Old 06-20-2008, 06:03 PM The tag <?xml version="1.0" encoding="iso-8859-1"?>
Junior Talker

Posts: 2
Trades: 0
I am using Dreamweaver MX (I know pretty old) to do my web design projects. When I select Make document compliant it adds these two tags

<?xml version="1.0" encoding="iso-8859-1"?>

At the beginning and

<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />

after the title tag

My question is whether this tag is necessary and what exactly does it do? Thanks in Advance
small_souljah82 is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 06-20-2008, 06:48 PM Re: The tag <?xml version="1.0" encoding="iso-8859-1"?>
wayfarer07's Avatar
Poo on You

Latest Blog Post:
Introducing WowWindow
Posts: 3,987
Name: Abel Mohler
Location: Asheville, North Carolina USA
Trades: 0
I don't remember everything that this does, but it is a good thing, and allows the browser to display certain characters that it wouldn't otherwise recognize.

These days Dreamweaver defaults to utf-8, but if information from a database is having trouble displaying on one of my webpages, often a fix is to switch the encoding to iso-8859.
__________________
I build web things. I work for the startup
Please login or register to view this content. Registration is FREE
.

Last edited by wayfarer07; 06-20-2008 at 06:50 PM..
wayfarer07 is offline
Reply With Quote
View Public Profile Visit wayfarer07's homepage!
 
Old 06-20-2008, 08:48 PM Re: The tag <?xml version="1.0" encoding="iso-8859-1"?>
LadynRed's Avatar
Defies a Status

Posts: 10,017
Location: Tennessee
Trades: 0
Actually, you don't need that XML tag unless you intend to serve your pages AS XML. In addition to that, leaving that link ABOVE the doctype will throw IE into QUIRKS mode - which you definitely do NOT want!
__________________
Web Goddess & Web Standards Evangelist :) - Tables Be Gone !!

Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE

LadynRed is offline
Reply With Quote
View Public Profile
 
Old 06-20-2008, 09:05 PM Re: The tag <?xml version="1.0" encoding="iso-8859-1"?>
ForrestCroce's Avatar
Half Man, Half Amazing

Posts: 3,023
Name: Forrest Croce
Location: Seattle, WA
Trades: 0
Isn't IE always in quirks mode?

Sorry, couldn't help it.
__________________

Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
ForrestCroce is offline
Reply With Quote
View Public Profile Visit ForrestCroce's homepage!
 
Old 06-21-2008, 12:03 PM Re: The tag <?xml version="1.0" encoding="iso-8859-1"?>
Junior Talker

Posts: 2
Trades: 0
So are you saying that I shouldn't leave it about the doc type and if so, where should I place it. Also as ForrestCroce asked, is IE always in Quirks mode?
small_souljah82 is offline
Reply With Quote
View Public Profile
 
Old 06-21-2008, 03:57 PM Re: The tag <?xml version="1.0" encoding="iso-8859-1"?>
wayfarer07's Avatar
Poo on You

Latest Blog Post:
Introducing WowWindow
Posts: 3,987
Name: Abel Mohler
Location: Asheville, North Carolina USA
Trades: 0
He was being sarcastic. Pay no attention to that silly old man.
__________________
I build web things. I work for the startup
Please login or register to view this content. Registration is FREE
.
wayfarer07 is offline
Reply With Quote
View Public Profile Visit wayfarer07's homepage!
 
Old 06-23-2008, 02:35 AM Re: The tag <?xml version="1.0" encoding="iso-8859-1"?>
Skilled Talker

Posts: 52
Name: Bruce
Trades: 0
Just remove <?xml version="1.0" encoding="iso-8859-1"?>.
SillyWilly is offline
Reply With Quote
View Public Profile
 
Old 06-19-2009, 08:24 PM Re: The tag <?xml version="1.0" encoding="iso-8859-1"?>
e11world's Avatar
Junior Talker

Posts: 3
Name: Eddie
Trades: 0
I know this is a year old but I'm hoping I'd still get an answer.
I'm working on a project and the client is saying that <?xml version="1.0" encoding="iso-8859-1"?> is making the font/text look bigger/smaller and I think even blaming alignment or something like that.
I just want to make sure of this. Does that code change anything about how the font/text renders or aligns?
Please answer me if you can. Thanks everyone!
e11world is offline
Reply With Quote
View Public Profile Visit e11world's homepage!
 
Old 06-19-2009, 08:57 PM Re: The tag <?xml version="1.0" encoding="iso-8859-1"?>
LadynRed's Avatar
Defies a Status

Posts: 10,017
Location: Tennessee
Trades: 0
Quote:
<?xml version="1.0" encoding="iso-8859-1"?>
Not specifically, but as stated before, it will throw IE into Quirks Mode, which will yield some odd results. Just remove it, unless you're serving your pages as XML, it's not needed.
__________________
Web Goddess & Web Standards Evangelist :) - Tables Be Gone !!

Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE

LadynRed is offline
Reply With Quote
View Public Profile
 
Old 06-19-2009, 10:23 PM Re: The tag <?xml version="1.0" encoding="iso-8859-1"?>
e11world's Avatar
Junior Talker

Posts: 3
Name: Eddie
Trades: 0
Thanks for the reply. Well I won't be using it but the client claims that because of this tag, the font/text looks different and I just want to proof that it has nothing to do with that.
I guess I can ask this here too. The page looked like this
HTML Code:
<HTML>
<BODY>
<html>
<head>
<title></title>
</head>
<body>
content here
</body>
</html>
</BODY>
</HTML>
So basically, it had an extra html and body tags wrapping everything. Will this make any changes to the text/font?
__________________
-------------------------------------
Cheers,

Please login or register to view this content. Registration is FREE
e11world is offline
Reply With Quote
View Public Profile Visit e11world's homepage!
 
Old 06-20-2009, 09:29 AM Re: The tag <?xml version="1.0" encoding="iso-8859-1"?>
LadynRed's Avatar
Defies a Status

Posts: 10,017
Location: Tennessee
Trades: 0
It will throw errors but should not have any effect on the text/font.
What font is being used for the page ??
__________________
Web Goddess & Web Standards Evangelist :) - Tables Be Gone !!

Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE

LadynRed is offline
Reply With Quote
View Public Profile
 
Old 06-20-2009, 11:41 AM Re: The tag <?xml version="1.0" encoding="iso-8859-1"?>
CWebguy's Avatar
Average Talker

Latest Blog Post:
74 Free Days of TypePad Blog
Posts: 26
Trades: 0
You should use stylesheets to change your font, and definitely get rid of the XML tag unless you are trying to create a feed
__________________

Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE

CWebguy is offline
Reply With Quote
View Public Profile Visit CWebguy's homepage!
 
Old 06-20-2009, 02:05 PM Re: The tag <?xml version="1.0" encoding="iso-8859-1"?>
e11world's Avatar
Junior Talker

Posts: 3
Name: Eddie
Trades: 0
Well this isn't my site/code. It was done almost 10 years ago using C or C++ i believe. I can't start all over but they need a small fix and they're blaming its our (my company's) fault for the text not rendering correctly or something like that. They're using Arial (in a style sheet after taking out all the ugly font and inline styling tags).
I just want to be 100% sure of this tag not effecting fonts at all. (or the extra html and body tags)
__________________
-------------------------------------
Cheers,

Please login or register to view this content. Registration is FREE
e11world is offline
Reply With Quote
View Public Profile Visit e11world's homepage!
 
Old 06-20-2009, 03:50 PM Re: The tag <?xml version="1.0" encoding="iso-8859-1"?>
LadynRed's Avatar
Defies a Status

Posts: 10,017
Location: Tennessee
Trades: 0
The XML declaration would not be the cause of font changes. However, if they are on a machine that does not have Arial installed, they WILL see a font substitution. Once upon a time, Macs didn't have Arial, they used Geneva I believe, could still be that way, I don't know. If ONLY Arial is defined for the font-family in the CSS, substitution would occur.
__________________
Web Goddess & Web Standards Evangelist :) - Tables Be Gone !!

Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE

LadynRed is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to The tag <?xml version="1.0" encoding="iso-8859-1"?>
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 1.80112 seconds with 12 queries