Contiguous space characters in preformatted text are erroneously converted to non-breaking spaces.

Issue #11004541 • Assigned to Steven K.


Steffen I.
Feb 18, 2017
This issue is public.
Found in
  • Microsoft Edge
Found in build #
Reported by 2 people

Sign in to watch or report this issue.

Steps to reproduce

Brief: Source code examples and code references cannot be copied. They will cause errors because contiguos space characters (0x20) are converted to non-breaking spaces (0xA0).

Example: The “Syntax” code box with the declaration of the MultiByteToWideChar function inside.
Although the failure is not limited to the MSDN. It happens on any other web site (like internet forums).

How to reproduce:
Open the linked example using Edge. Copy the function declaration out of the linked reference. Paste it in an empty text document using Notepad. Save it ANSI encoded. Use any HEX editor to observe the bytes of indentations.
Use Internet Explorer or any browser other than Edge for comparisons.

Environmental notes:
Microsoft Edge 38.14393.0.0
Microsoft EdgeHTML 14.14393
Microsoft Windows 10 Home [Version 10.0.14393] 32 bit, de-DE


1 attachment

Comments and activity

  • This has to be by far the most annoying thing ever. Maybe perhaps because I’ve been having issues since started using Microsoft Edge as my primary browser back when Windows AU was officially released.

    This programming language I’m using, keeps complaining with 'Syntax error’. It is annoying to have to keep launching Internet Explorer to page and scrolling around.

  • Microsoft Edge Team

    Changed Assigned To to “Brad E.”

  • @William M.
    Thank you for confirming this issue. I’m afraid it will force me to rescind my decision to use Edge as default browser. I’m quite active in several programming forums and thus, I’m dependent on copying code snippets of questioners in order to debug them …

    @Brad E.
    Thanks for stopping by!
    I just noticed that my wording wasn’t quite clear. The first sentence should rather read:
    “Copied source code examples and code references cannot be used.”
    If you need some further information or if there is anything you want me to try out don’t hesitate to get in contact. Thank you!

  • Microsoft Edge Team

    Changed Assigned To from “Brad E.” to “Steven K.”

  • I keep on waiting. My offer to help in any kind still stands. If I wasn’t clear enough or if you have problems to reproduce this issue just tell me.
    Thank you!


  • At least I gave Edge a chance. But five weeks without any official response, not even the confirmation of this issue - why did you develop a new browser if you’re not interested in? Bye Edge, hello Chrome. (Don’t forget to provide any good reason why I should make any efforts to return to Edge if you ever fixed this issue.)


  • w/Microsoft Edge 38.14393.0.0 and is still very much an issue.

    Furthermore, there’s another side-effect to copying source codes. Not always however it causes the Edge page I’m copying from to freeze. I do have two Edge extensions installed, AdBlock Plus and ' Translator For Microsoft Edge '.

    I have tried not only disabling these Edge extensions and restarting Edge browser, but I also uninstalled them and restarted Edge and tested. Experienced the same very issue copying from certain webpages.

    This not a problem with Internet Explorer, just Microsoft Edge.

You need to sign in to your Microsoft account to add a comment.

Sign in