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

Re: newbie &nbsp representation question

From: Helder Magalhães <helder.magalhaes@gmail.com>
Date: Sat, 8 Aug 2009 11:21:09 +0100
Message-ID: <2a1ddf8a0908080321x4a029ea5l3490d7303c2708fd@mail.gmail.com>
To: "J. Waldram" <jwaldram@uwyo.edu>
Cc: www-amaya@w3c.org
Hi Jim,


> the &nbsp is represented as a hex byte 0xa0 instead of &#160; or
> &#xa0;.  Is this a mis-translation for the &nbsp that is rendered by
> browsers?  Since XML does not allow &nbsp and the &#xa0 is allowed could
> this be recoded as a text string not a hex byte?

This looks like a bug: I'd also expect "&#xa0;". I've made a quick
search within the bug tracker and wasn't able to find anything
related.


>  Amaya source code views
> show it as a "~" (tilde) which is less obvious in coding and some browsers
> render it as a literal character.

I noticed that this weird behavior can be seen in Amaya's welcome page [1]:

  "Amaya is a Web client~ that~ acts [...]"

That should make it much more easier to reproduce/fix. ;-)


> Thank you,

Hope this helps,
 Helder


[1] %ProgramFiles%/Amaya/amaya/AmayaPage_WX.html
Received on Saturday, 8 August 2009 10:21:45 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Saturday, 8 August 2009 10:21:46 GMT