valerijs.gusjkovs@gmail.com writes:
> This was workng on 9.4 at least, but does not in 9.6. Followind returns
> should be reversed as non-breaking space is whitespace:
What encoding and LC_CTYPE are you using? AFAIR we haven't changed
anything about that code behavior since 9.4, so the most likely theory
is that your 9.6 installation is using a locale/encoding that doesn't
consider NBSP to be whitespace --- as C locale wouldn't, for example.
regards, tom lane