The Delphi compiler does not see a unicode non-breaking space (0x00A0 as whitespace, and the Delphi IDE does not warn you about it: [WayBack] Delphi revelations #2 – Space characters are not just space characters.
Given that this character was introduced in 1993, I wonder how the compiler tests look like.
These also will not be recognised as whitespace:
- [WayBack] Unicode Character ‘SPACE’ (U+0020)
- [WayBack] Unicode Character ‘NO-BREAK SPACE’ (U+00A0)
- [WayBack] Unicode Character ‘OGHAM SPACE MARK’ (U+1680)
- U+2000..U+206x: [WayBack] Unicode Characters in the General Punctuation Block / General Punctuation – Wikipedia
- [WayBack] Unicode Character ‘EN QUAD’ (U+2000)
- [WayBack] Unicode Character ‘EM QUAD’ (U+2001)
- [WayBack] Unicode Character ‘EN SPACE’ (U+2002)
- [WayBack] Unicode Character ‘EM SPACE’ (U+2003)
- [WayBack] Unicode Character ‘THREE-PER-EM SPACE’ (U+2004)
- [WayBack] Unicode Character ‘FOUR-PER-EM SPACE’ (U+2005)
- [WayBack] Unicode Character ‘SIX-PER-EM SPACE’ (U+2006)
- [WayBack] Unicode Character ‘FIGURE SPACE’ (U+2007)
- [WayBack] Unicode Character ‘PUNCTUATION SPACE’ (U+2008)
- [WayBack] Unicode Character ‘THIN SPACE’ (U+2009)
- [WayBack] Unicode Character ‘HAIR SPACE’ (U+200A)
- [WayBack] Unicode Character ‘ZERO WIDTH SPACE’ (U+200B)
- [WayBack] Unicode Character ‘ZERO WIDTH NON-JOINER’ (U+200C)
- [WayBack] Unicode Character ‘ZERO WIDTH JOINER’ (U+200D)
- [WayBack] Unicode Character ‘LEFT-TO-RIGHT MARK’ (U+200E)
- [WayBack] Unicode Character ‘RIGHT-TO-LEFT MARK’ (U+200F)
- [WayBack] Unicode Character ‘NARROW NO-BREAK SPACE’ (U+202F)
- [WayBack] Unicode Character ‘MEDIUM MATHEMATICAL SPACE’ (U+205F)
- [WayBack] Unicode Character ‘WORD JOINER’ (U+2060)
- U+3000..U+33Fx: [WayBack] Unicode Characters in the CJK Symbols and Punctuation Block
- U+FE70..U+FEFx: [WayBack] Unicode Characters in the Arabic Presentation Forms-B Block
- [WayBack] Unicode Characters in the ‘Separator, Space’ Category / Whitespace character – Wikipedia
Related, as many other tools also do not properly support various whitespace characters:
- Michael Kaplan Obituary – Berkowitz-Kumin-Bookatz | Cleveland Heights OH (and a whole bunch of info in zero width Unicode stuff)
- [WayBack] Unicode Character ‘NO-BREAK SPACE’ (U+00A0)
- [WayBack] unicode – What is this INSANE space character??? (google chrome) – Stack Overflow
- [WayBack] Unicode Utilities: Character Properties
- [WayBack] Unicode 1.1.0 (June, 1993)
Via: [WayBack] A Delphi “Aha” experience – Kim Madsen – Google+
–jeroen