| Welcome to WebmasterWorld Guest from 22.214.171.124 |
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
|Become a Pro Member|
|Unicode: English American / Western European|
Any downside to including both meta tags for each character set in a doc?
We have a web site that will be viewed by nearly a 50/50 split between an American audience and Western European audience.
Can we include both meta tags for the character set for both audiences without penalty to broswers?
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<meta http-equiv="Content-Type" content="text/html;charset=utf-8">
It might confuse some browsers and if you include anything like currency symbols, certain punctuation marks or accented letters, at least one of the tags will be wrong.
I would also suggest sticking with one version. You could have european and NA versions instead.
|Can we include both meta tags for the character set for both audiences without penalty to broswers? |
No, because your web pages can only be in one of the two encodings, you should know which one that is. Including both tags will only confuse your vistors' browsers.
Having said that, ISO-8859-1 should be enough for most Western European countries.
Just to echo the other guys here, use only one.
>ISO-8859-1 should be enough for most Western European countries.
Right, should take care of most of them.
All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved