Re: [xslt] isn't nonbreaking space in iso-8859-1 encoding?

On 2006-11-03 07:18:22 +0100, Jeroen Ruigrok/asmodai wrote:
> -On [20061103 01:48], Bob Stayton (bobs sagehill net) wrote:
> >When I process a document with encoding iso-8859-1 that contains a 
> >nonbreaking space   character to XML output in the same encoding, the 
> >nonbreaking space character does not survive.  It comes out as Unicode 
> >� the replacement character.  My reference says that   is a 
> >native character for encoding iso-8859-1.   Is this a bug, or am I not 
> >understanding something?
> agrees with you that 0xa0 is a
> non-breaking space.

0xa0 has nothing to with with iso-8559-1 in Bob Stayton's example as
Bob didn't use any non-ASCII character in his (unparsed) source file
(so, the encoding doesn't matter). But anyway, U+00A0 is also a nbsp
in Unicode, and in any case, replacement characters should not be
generated in his example.

Vincent Lefèvre <vincent vinc17 org> - Web: <>
100% accessible validated (X)HTML - Blog: <>
Work: CR INRIA - computer arithmetic / Arenaire project (LIP, ENS-Lyon)

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]