On 27/06/2023 18:14, Étienne Deparis wrote:
Oh, very sorry, actually it effectively leaves the spaces as this in the output file. I was confused by Firefox, who makes the replacement 🙁 (interpret non-breaking spaces UTF-8 char as breaking, and replace them by regular space when copy/pasting text…).
I do not see any issue with Firefox. It might be OS or locale-dependent however.
Copy from Firefox running as en_US.UTF-8 on Linux and pasting to Emacs preserves "NARROW NO-BREAK SPACE" (`describe-char').