Re: newbie &nbsp representation question

Sat, 08 Aug 2009 14:34:43 +0300, /Stanimir Stamenkov/:
> Mon, 3 Aug 2009 16:36:58 -0600, /J. Waldram/:
> 
>> Amaya 11.2, with the "Keep multiple Spaces" option, the &nbsp is 
>> represented as a hex byte 0xa0 instead of   or  .  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?
> 
> It is not a "hex byte" but the NBSP character included literally in the 
> text (if you choose UTF-8 or another UTF variant then the character will 
> be represented by two or more bytes).  I guess it is included like that 
> as it gets just one character in the source vs. 6 (  or   or 
>  ).  If you set your source encoding to US-ASCII then this 
> character cannot be literally encoded therefore Amaya will write it as  .

Seems the mailing list software has replaced occurrences of &nbsp 
followed by ; with a space.  The last sentence should end with it.

-- 
Stanimir

Received on Saturday, 8 August 2009 11:45:08 UTC