Where did you install Firefox from? Help Mozilla uncover 3rd party websites that offer problematic Firefox installation by taking part in our campaign. There will be swag, and you'll be featured in our blog if you manage to report at least 10 valid reports!

Rechercher dans l’assistance

Évitez les escroqueries à l’assistance. Nous ne vous demanderons jamais d’appeler ou d’envoyer un SMS à un numéro de téléphone ou de partager des informations personnelles. Veuillez signaler toute activité suspecte en utilisant l’option « Signaler un abus ».

Learn More

non-printable characters in displayed text

  • 1 réponse
  • 0 a ce problème
  • 1 vue
  • Dernière réponse par cor-el

more options

I have been using the coderanch.com website for more than a decade and most of the postings include listings of source code which I was (past tense) able to cut a paste into my own development environment. With the latest version (107) of Firefox this has broken, the document now gets numerous non-printable characters (decimal 160) for the leading indents of the code. I'm assuming they are being somehow substituted for the tab character.

Here's an example

https://coderanch.com/t/755856/certification/Questions-errata-Sybex-OCP-Study

I went back to version 105 and the problem went away. Also Chrome does not have this problem.

Please fix soon as it is impacting my ability to help others on the coderanch site.

I have been using the coderanch.com website for more than a decade and most of the postings include listings of source code which I was (past tense) able to cut a paste into my own development environment. With the latest version (107) of Firefox this has broken, the document now gets numerous non-printable characters (decimal 160) for the leading indents of the code. I'm assuming they are being somehow substituted for the tab character. Here's an example https://coderanch.com/t/755856/certification/Questions-errata-Sybex-OCP-Study I went back to version 105 and the problem went away. Also Chrome does not have this problem. Please fix soon as it is impacting my ability to help others on the coderanch site.

Toutes les réponses (1)

more options

Those are non-breaking spaces (U+00A0) and this is actually mentioned in the 107 release notes under Unresolved.

In order to better support certain typographical conventions, Firefox now preserves some non-breaking spaces when copying text to the clipboard instead of changing them to regular spaces. The new behavior is known to cause problems when non-breaking spaces are used for indentation.


  • 1769534 - Preserve non-breaking spaces when copying HTML content

(please do not comment in bug reports
https://bugzilla.mozilla.org/page.cgi?id=etiquette.html
)

Modifié le par cor-el