W3C home > Mailing lists > Public > www-amaya@w3.org > April to June 2001

Re: saving changes some character entities incorrectly

From: Irene Vatton <Irene.Vatton@inrialpes.fr>
Date: Thu, 28 Jun 2001 12:44:09 +0200
To: "John Russell" <ve3ll@rac.ca>
Cc: www-amaya@w3.org, Irene.Vatton@inrialpes.fr
Message-Id: <20010628104409.23BA0C@maiana.inrialpes.fr>
> As Christian points out &nbsp; is changed to a regular space.

NO. It's saved with the ISO-latin-1 code of the non-breakable space
when the document is saved in ISO-latin-1 like &agrave; is saved
as . If you save your document in us-ascii the entity &nbsp;
will be generated.
In the next release, you will be able to choose the saving encoding, so you
can generate entities if you're mor comfortable with them.

> In addition &shy; is changed to an ordinary hyphen.
> This is of course incorrect as the character entities have different
> interpretation than the ordinary characters when looking at line
> breaking for wraps ---  
> &nbsp; should as the name implies NOT BREAK!
> &shy; should not display unless it is used as a breaking point
>   then it should be last character on the broken line.

Amaya doesn't use the technology of the soft hyphen to find a breakable 
position in a word.
But Amaya is able to hyphenate paragraph. It implements an algorithm that
is able to find a right breakable position in words according of the current 
language. It works for English, French, Italian, Spanish, etc.
Received on Thursday, 28 June 2001 06:44:14 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 22:30:34 UTC