Forum Moderators: phranque

Message Too Old, No Replies

Charset Question

         

nootkan

9:01 pm on Mar 26, 2011 (gmt 0)

10+ Year Member



Was wondering if there was some reason a website would have two charsets in the head tags? I am thinking it is because the site was created with dreamweaver (but not sure)I've been to the W3C site but cannot find anything on this. Can anyone shed some light on this?

For example, a website I'm cleaning up for a friend has this in his head tags:
<!DOCTYpE HTML pUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html><!-- InstanceBegin template="/Templates/index.dwt.php" codeOutsideHTMLIsLocked="false" -->
<head>
<meta name="generator" content="dreamweaver 8">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<!-- InstanceBeginEditable name="doctitle" -->
<TITLE>Removed</TITLE>
<META http-equiv=Content-Type content="text/html; charset=windows-1252">

tangor

10:12 pm on Mar 26, 2011 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



Decide on one or the other. More info here: [charset.org...]

nootkan

5:02 pm on Mar 27, 2011 (gmt 0)

10+ Year Member



Thanks for the info. I had been there also but the site doesn't say what the best charset is to use. I guess I'll go with the utf-8 as it looks to be the default for the world.

phranque

8:23 am on Mar 28, 2011 (gmt 0)

WebmasterWorld Administrator 10+ Year Member Top Contributors Of The Month



this thread is a few years old but most of it still applies.
Character encoding, entity references and UTF-8:
http://www.webmasterworld.com/forum21/11176.htm [webmasterworld.com]

nootkan

4:50 pm on Mar 28, 2011 (gmt 0)

10+ Year Member



Wow, great thanks for this. Helps a lot.