W3C home > Mailing lists > Public > www-amaya@w3.org > January to March 2005

Re: How to keep Character Entity Name after saving?

From: Irene Vatton <Irene.Vatton@inrialpes.fr>
Date: Thu, 10 Mar 2005 18:10:39 +0100
To: "Thomas Jedenfelt" <thomas_jedenfelt_1@operamail.com>
Cc: www-amaya@w3.org
Message-Id: <200503101810.39600.vatton@inrialpes.fr>

Le Mercredi 09 Mars 2005 20:35, Thomas Jedenfelt a écrit :
> Hello,
>
> The problem:
> When editing an HTML document that contains character
> entity names - they are converted to the actual
> character (letter) when saving the documet.
>
> For example:
> <em>Malm& #246;</em> is converted to <em>Malmö</em>.
>
> Previous versions of Amaya also have this behaviour.
>
> I use:
> 'charset=iso-8859-1', Amaya 9.1 and Windows XP.

Amaya will generate to large documents if all characters are replaced by an 
entity. So it uses iso-8859-1 codes when it can.
If you save your document with charset=ASCII it will generate entities.

-- 
     Irène.
-----
Irène Vatton                     INRIA Rhône-Alpes
INRIA                               ZIRST
e-mail: Irene.Vatton@inria.fr       655 avenue de l'Europe
Tel.: +33 4 76 61 53 61             Montbonnot
Fax:  +33 4 76 61 52 07             38334 Saint Ismier Cedex - France
Received on Thursday, 10 March 2005 17:11:25 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 1 April 2014 11:01:43 UTC