I try to add text containing a non-breaking space (Unicode U+00A0) to a RichEdit with property Wordwrap = True. I use the following code:
RichEdit.Lines.Add('Some text some text some text 1000' + #160 + 'km some text');
This gives a space between '1000' and 'km', but it is not non-breaking: When changing the width of the RichEdit a linebreak may occur here, like with a regular space. I have Windows 10 version 2004.
Am I doing something wrong, or is this a general limitation of the RichEdit component?