RE: Web Form: Other Question: British pound sign - U+00A3

From: John Delacour (JD@BD8.COM)
Date: Wed Oct 01 2003 - 15:19:42 CST


At 8:40 pm +0200 1/10/03, Marco Cimarosti wrote:

> > > http-equiv="Content-Type" content="text/html; charset=utf-8">
>
>I think it should be "charset=UTF-8", in capital letters. I was looking into
>the IANA charsets today, and I don't remember having seen a lowercase alias
>for that.

It is the whole content value of the meta tag
that needs to be quoted and case is not important.

There are five ways I can think of to represent
the pound sign, the simplest being £

Although the doc type and charset declarations
are required, all but the two-byte utf-8
repesentation of the character will display
correctly even if utf-8 is not specified.

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN"
         "http://www.w3.org/MarkUp/Wilbur/HTML32.dtd">
<head>
   <meta http-equiv="content-type" content="text/html; charset=utf-8">
   <title>Pound</title>
</head>
<ul>
<li>Smith &#163;1,000
<li>Jones &#xa3;2,000
<li>Allen &pound;3,000
<li>King &#x00a3;4,000
<li>Haig £5,000
</ul>



This archive was generated by hypermail 2.1.5 : Thu Jan 18 2007 - 15:54:24 CST