On 2006-11-03 07:18:22 +0100, Jeroen Ruigrok/asmodai wrote: > -On [20061103 01:48], Bob Stayton ([EMAIL PROTECTED]) 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? > > http://en.wikipedia.org/wiki/ISO/IEC_8859-1 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 <[EMAIL PROTECTED]> - Web: <http://www.vinc17.org/> 100% accessible validated (X)HTML - Blog: <http://www.vinc17.org/blog/> Work: CR INRIA - computer arithmetic / Arenaire project (LIP, ENS-Lyon) _______________________________________________ xslt mailing list, project page http://xmlsoft.org/XSLT/ [email protected] http://mail.gnome.org/mailman/listinfo/xslt
