Re: [xslt] isn't nonbreaking space in iso-8859-1 encoding?
- From: Vincent Lefevre <vincent+gnome vinc17 org>
- To: xslt gnome org
- Subject: Re: [xslt] isn't nonbreaking space in iso-8859-1 encoding?
- Date: Fri, 3 Nov 2006 09:41:48 +0100
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?
>
> 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 <vincent vinc17 org> - 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)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]