Erik is right.
Content is a attribute of META tag, CHARSET is not.
CHARSET is part of the HTTP Content-Type Header, therefore, you should not
have " character after text/html and " before UTF-8. The whole string
"text/html charset=utf-8" is the value of CONTENT attribute of META tag.
Herman Ranes wrote:
> Netscape switches "automatically" this way:
> Insert a META tag (in the HTML head) which declares the correct MIME
> parameters (or configure your http server)
> In my homepage
> it looks like this:
> <META http-equiv="Content-Type" content="text/html" charset="UTF-8">
> <TITLE>Ranes, Herman</TITLE>
> Actually, I do not use UTF-8 in my home page, but numerical character
> references (NCRs).
> But in this page:
> I use UTF-8 encoding.
> Hajd? Gergely skreiv:
> > Could you help me, please?
> > My problem is: I have to use some "exotic" (Hungarian, Romanian)
> > characters in a Web page I'm working on -- together with Western
> > (Danish, French) ones which means a Central-European only character set
> > like ISO-8859-2 is not a solution for me. Well, users of current Windows
> > and Mac OS have some Unicode fonts installed, haven't they? I found the
> > Unicode decimal values (over 300). Half of my books and the online
> > resources I consulted says I should declare the META charset as ISO
> > 10646-UCS-2; the others say, as ISO/IEC 10646-1. I tried both but the
> > results are the same: when I load the page my browsers' View menu shows
> > they keep on using the default. (ISO 8859-1.) Actually, MSIE displays
> > what I wanted; Navigator shows question marks in place of the accented
> > characters until I choose Encoding/UTF-8 manually! But I'm afraid it is
> > something the average visitor hates to be instructed to do...
> > Regards
> > Gergely Hajdu
> Herman Ranes H?gskolen i S?r-Tr?ndelag
> Avdeling for teknologi
> Telefon +47 73559606 Institutt for elektroteknikk
> Telefaks +47 73559581
> <email@example.com> N-7005 Trondheim
> http://www.hist.no/~herman/ NOREG
This archive was generated by hypermail 2.1.2 : Tue Jul 10 2001 - 17:20:44 EDT