W3C home > Mailing lists > Public > www-amaya@w3.org > July to September 2008

Re: £ converted into £,   converted into ~

From: Irene Vatton <Irene.Vatton@inria.fr>
Date: Thu, 21 Aug 2008 11:09:56 +0200
To: John Stumbles <amaya@yaph.org.uk>
Cc: www-amaya@w3.org
Message-Id: <1219309796.6530.23.camel@vanuatu.inrialpes.fr>

Hi John,

This is not a bug: Amaya generates entities, when the character doesn't
exist in the current encoding.
When your document is utf-8 encoded, there is not reason to generate an
entity to code the pound character.
When I write a French document, I won't understand why Amaya will
generate entities for each "é", "è", etc. characters except if the
document is ascii encoded.


Le vendredi 01 août 2008 à 22:46 +0100, John Stumbles a écrit :
> I'm not sure if this is a bug or a feature I don't know how to use
> properly - perhaps someone can help me here?
> 
> If I type &pound; to put a pound sign into a document in source view (I
> use horizontal split), then make any change in the upper window
> (rendered view), then as soon as I save the document Amaya changes my
> &pound; to an actual £ sign character. Unfortunately the £ sign displays
> as 'unknown character' (a question mark in a black diamond shape) in
> Iceweasel and Konqueror (on my Debian Etch system running Amaya 10 - Feb
> 29 2008)
> 
> The same behaviour happens with &nbsp; which gets converted into (as far
> as I can tell) an actual space, though it is displayed in source view as
> a tilde (~).
> 
> Is Amaya supposed to do this (is the &escape; syntax now deprecated -
> I'm a bit out of touch with current HTML standards) in which case how
> should I get pound signs and non-breaking spaces that render properly on
> a web browser?
> 
-- 
Irene Vatton <Irene.Vatton@inria.fr>
INRIA
Received on Thursday, 21 August 2008 09:10:35 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Thursday, 21 August 2008 09:10:36 GMT