Weird characters in Copy to Clipboard splash page

Weird characters in Copy to Clipboard splash page

kaevnekaevne Posts: 2Questions: 0Answers: 0

In the Buttons plugin, the Copy to Clipboard button will put up two different splash pages, depending on the amount of data being copied.

The first splash page looks fine, it will copy the text to clipboard and then tell you how many rows were copied.

The second splash page will come up and ask you to ctrl-c to copy the larger amount of data. The problem is, this splash page has some weird characters. "Press ctrl or <weird characters> + c..."

Here's a screenshot: http://imgur.com/a/qCxt3

I've tested this in the latest Chrome, Firefox on Ubuntu and Edge on Windows 10. I'm not sure if this is a charset issue on my machines, or something else? Is anyone else seeing this issue?

These are my generated includes:

<link rel="stylesheet" type="text/css"
              href="https://cdn.datatables.net/v/bs/jszip-2.5.0/pdfmake-0.1.18/dt-1.10.13/b-1.2.4/b-html5-1.2.4/b-print-1.2.4/datatables.min.css"/>

        <script type="text/javascript"
                src="https://cdn.datatables.net/v/bs/jszip-2.5.0/pdfmake-0.1.18/dt-1.10.13/b-1.2.4/b-html5-1.2.4/b-print-1.2.4/datatables.min.js"></script>

Here is my javascript:

$('#datatable').dataTable({
                    "aaSorting": [[0, 'desc']],
                    "aLengthMenu": [[10, 50, 100, 500, -1], [10, 50, 100, 500, "All"]],
                    "iDisplayLength": 500,
                    dom: '<"col-md-2"l><"col-md-offset-5 col-md-3"B>frtip',
                    buttons: [
                        'copy', 'excel', 'csv', 'print'
                    ]
                });

Replies

This discussion has been closed.