- text/html clipboard data pasted from Microsoft Word uses the the wrong character set

Fixed Issue #11877517

Details

Author
Ephox D.
Created
May 3, 2017
Privacy
This issue is public.
Found in
  • Microsoft Edge
Found in build #
15.15063
Reports
Reported by 3 people

Sign in to watch or report this issue.

Steps to reproduce

This is a high priority content corruption issue that can be replicated with the current patched version of Edge 15 on the http://tinymce.com and http://textbox.io front page demos. The attached replication case removes all editor-specific code and uses a plain ContentEditable with a paste event listener.

Replication steps:

  • Open the attached HTML page
  • Open the attached word document
  • Copy the entire document to the clipboard
  • Paste into the box that says “paste here”

The word document contains unicode characters that are corrupted when pasting into Edge. The pasted content appears fine in ContentEditable, but the data we receive in JavaScript has been translated into what looks like ASCII.

Looking at the second paragraph in the HTML clipboard contents, we expect (and confirmed in Chrome/Firefox):
śƿęċīǟƪ characters

Instead Edge gives us:
śƿęċīǟƪ characters

The issue can be replicated in the current insider fast ring build (16184).

Please see other feedbacks in userfeedback VSO for feedbacks that are tracked by this work item.

Attachments

Comments and activity

  • Microsoft Edge Team

    Changed Assigned To to “James M.”

    Changed Assigned To to “Travis L.”

    Changed Assigned To from “Travis L.” to “Siye L.”

    Changed Status to “Confirmed”

    Changed Title from “text/html clipboard data pasted from Microsoft Word uses the the wrong character set” to “- text/html clipboard data pasted from Microsoft Word uses the the wrong character set”

  • we are using tinymce editor

  • Microsoft Edge Team

    Changed Steps to Reproduce

    Changed Status from “Confirmed” to “Fixed”

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

Sign in