Encoding problems in IE11

Author: francolucasCreated May 7, 2018Updated May 14, 2018

Hi team. I'm facing this problem with Win10+IE11 with German Umlauts ("äöü" for example).

This is my simple HTML:

xml
<!DOCTYPE html>
<html>

<head lang="en">
  <meta charset="utf-8">
  <title>Structure Editor</title>
</head>

<body>
  <button id="copy-button" data-clipboard-text="Copied: großen" title="Click to copy me.">Copy text</button>
  <br><br>
  <button id="copy-button-html" data-clipboard-text="Copied: gro&szlig;en with html" title="Click to copy me.">Copy text with html</button>

  <script src="ZeroClipboard.js"></script>
  <script>
    new ZeroClipboard(document.getElementById("copy-button"));
    new ZeroClipboard(document.getElementById("copy-button-html"));
  </script>
</body>

</html>

I took some print-screens that illustrates the problem. virtualbox_msedge - win10_07_05_2018_12_01_53

virtualbox_msedge - win10_07_05_2018_12_02_10

The Preview tab seems ok but the Text one shows the text with the problem. virtualbox_msedge - win10_07_05_2018_12_01_36

Do you know if there is anything I can do? Maybe a setting is missing or something.

Thanks a lot!

Source: zeroclipboard/zeroclipboard