On Monday 05 March 2007 12:25, Henk de Leeuw wrote: [...] This question piqued my curiosity, so I created a simple file containing a non-breaking space, and find they encode it with Unicode 00A0, which http://www.unicode.org/charts/PDF/U0080.pdf defines as a non-breaking space, but not any other characteristics.
Checking at http://www.fileformat.info/info/unicode/char/00a0/index.htm indicates that .NET wants Char.IsWhiteSpace() True. But Java is odd, it has both: Character.isSpaceChar() Yes Character.isWhitespace() No Looks like a bug report to OOo to find out what it thinks it is, and how it treats a space (or whitespace). Also of interest are the Unicode points 200F and 2060, but they may not be relevant in this particular case. See http://www.unicode.org/charts/PDF/U2000.pdf > > In the example document that Kirill posted, in the first line, I see > only one gap that is inserted by the justification process, and several > non-breaking spaces that are _not_ surrounded by gaps, but have the > width of only one character. > This is in OpenOffice 2.1. > There is no need for the non-breaking space to be manually > width-adjustable, but it would be nice if, for width-adjusting purposes, > it would be regarded as space instead of non-printing character with > fixed width. [..] -- Andy Pepperdine On this mailing list help is provided by volunteers. Please subscribe to the mailing list to see all the replies to a query, and reply only to the mailing list. For FAQ, userguide, see: http://documentation.openoffice.org/ --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
