Re: £ pound sign in Go Live



On 26/6/06 17:36, Chris Ridd wrote:
On 2006-06-26 17:24:09 +0100, Graham J Lee <uk.ac.ox.physics.teaching@xxxxxxxxxxxx> said:

On 26/6/06 17:21, Chris Ridd wrote:
On 2006-06-26 17:10:53 +0100, "Tiff Sunbacon" <jeremy.fieldsend@xxxxxxxxxxxxxx> said:

If I press the £ (shift 3) key in Go Live (CS2) it is preceeded by a
capital A with a circumflex. Any ideas how to put this right? (OS 10.4)

£ is represented in UTF-8 as a sequence of these two characters, so one fix could be to explicitly change the "charset" of the web page to UTF-8. The other way would be to make Go Live write &#163; or &#xa3; (don't leave the trailing ";" out).


The encoding-agnostic way of doing this (the HTML named entity for the pound sign) is &pound;.

Which some older browsers don't support, sigh. But given what else is likely to not work on them either, it may be a reasonable thing to use.

If you're using XHTML, then you can assume Unicode.


Maybe you can, but you *should* specify Unicode rather than assuming it. From the top of one of my pages...

<?xml version="1.0" encoding="utf-8"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd";>
<html xmlns="http://www.w3.org/1999/xhtml"; xml:lang="en-GB" lang="en-GB">
<head>
.



Relevant Pages

  • =?ISO-8859-1?Q?Re:_=A3_pound_sign_in_Go_Live?=
    ... On 2006-06-26 17:24:09 +0100, Graham J Lee ... capital A with a circumflex. ... fix could be to explicitly change the "charset" of the web page to UTF-8. ... pound sign) is £. ...
    (uk.comp.sys.mac)
  • Re: =?ISO-8859-1?Q?=A3_pound_sign_in_Go_Live?=
    ... On 26/6/06 17:21, Chris Ridd wrote: ... capital A with a circumflex. ... fix could be to explicitly change the "charset" of the web page to UTF-8. ...
    (uk.comp.sys.mac)
  • Re: A Revolutionary Way of Enlarging Your Penis
    ... drilling. ... And then a couple pound of amalgam. ... Should fix you ...
    (sci.med.dentistry)
  • Re: Where to buy CA online?
    ... stuff to really soak in to fix some problematic blanks. ... What is a good site to buy it online assuming I can't find ... These type of stores often carry low priced "CA" usually very thin too IIRC I picked up 100ml for a pound. ...
    (rec.crafts.woodturning)
  • Re: Apple UK - saved from itself
    ... Chris Ridd wrote: ... >>> as half a kilo, ... >>> the new pound will quickly be forgotten. ... Prev by Date: ...
    (uk.comp.sys.mac)