I have some users with ru-RU locale, which has ThousandSeparator = #160 (no-break-space, looks like a space but allows no line break).
Formatting numbers in their locale shows a broken ThousandSeparator, see attached images.
First one is done on a ru-RU Linux system, second one on my own de-DE Windows where I testwise set that nbsp char:
DefaultFormatSettings.ThousandSeparator:= chr(160);
Both are generated through:
Format('%.0n', [aValue + 0.0])
Confusing to me is that nbsp is even in the ASCII and LATIN1 charset.
Is it known that Format cannot handle certain diacritical characters?
There's a 9 year old post saying this is not supported by FPC:
https://forum.lazarus.freepascal.org/index.php/topic,32159.msg207284.html#msg207284