Mozilla 도움말 검색

고객 지원 사기를 피하세요. 저희는 여러분께 절대로 전화를 걸거나 문자를 보내거나 개인 정보를 공유하도록 요청하지 않습니다. "악용 사례 신고"옵션을 사용하여 의심스러운 활동을 신고해 주세요.

Learn More

non-printable characters in displayed text

  • 1 답장
  • 0 이 문제를 만남
  • 4 보기
  • 최종 답변자: 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.

모든 댓글 (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
)

글쓴이 cor-el 수정일시