Re: £ converted into £,   converted into ~

Irene Vatton <[email protected]>
Newsgroups gmane.comp.web.amaya.general
Organization INRIA
Message-ID <[email protected]>
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 <[email protected]>
INRIA
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.