RE: Web Form: Other Question: British pound sign - U+00A3
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. http://www.w3.org/MarkUp/Wilbur/HTML32.dtd";> Pound Smith £1,000 Jones £2,000 Allen £3,000 King £4,000 Haig ¬£5,000
Re: Web Form: Other Question: British pound sign - U+00A3
Marco Cimarosti wrote: 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. http://www.w3.org/Protocols/rfc1945/rfc1945 tells: "literal" Quotation marks surround literal text. Unless stated otherwise, the text is case-insensitive. Stefan
Re: Web Form: Other Question: British pound sign - U+00A3
Magda Danish (Unicode) schreef: > > -Original Message- > > Date/Time:Wed Oct 1 05:19:00 EDT 2003 > > Contact: [EMAIL PROTECTED] > > Report Type: Other Question, Problem, or Feedback > > (..) > > the Pound sign displays as an error. > > This happens when we use Netscape 7.02, and IE 6.0 (both very > > modern browsers. > > > > Is there something obvious that I am missing? Probably, yes. However, I have no idea what it could be. This sounds like a HTML question rather than a Unicode question. Anyway, if the Pound sign is coded as £ it really does not matter if you identify the character set as ISO-8859-1 or UTF-8 or anything else (any superset of ASCII7 that is); it displays correctly. > > Also which version of Unicode does HTML 4.0 support using > > escape characters (eg. £)? Unicode doesn't "do" HTML support; maybe this question was meant the other way round? ("which version of HTML does Unicode support?") Pim Blokland
RE: Web Form: Other Question: British pound sign - U+00A3
[EMAIL PROTECTED] wrote (through Magda Danish): [...] > > Our problem is the representation of the £ sign (British > > pound sign - U+00A3). When we type this character into our > > pages and then set the character encoding in our pages to > > Unicode (UTF-8) (either by setting it directly in the HTTP > > header, or setting it using the > 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. > > tag), when we view the pages we see the standard ASCII set of > > characters, but the Pound sign displays as an error. The most obvious question is: are your pages *actually* in UTF-8? It is not enough that you *declare* that they are UTF-8 if you didn't actually save them as UTF-8 with your editor. Could you put on line a small test page containing the pound symbol and post the URL? > > Also which version of Unicode does HTML 4.0 support using > > escape characters (eg. £)? It doesn't matter which version of Unicode it is, because the pound symbol is in from day zero. Notice however that HTML character reference must end with a semicolon: £ _ Marco