Ordering arrows content char glitch
Ordering arrows content char glitch
TensE
Posts: 1Questions: 1Answers: 0
Same issue as described here
Using datatables.min.css 1.13.8 as per the above thread I added the @charset "UTF-8" before the code:
However I still very rarely and randomly get the issue where the sorting arrows have â–² and â–¼ as the characters
Is there anything else I can do to prevent this from happening?
Answers
If it's rare and random, we would really need to see the issue to understand what's happening. We're happy to take a look, but as per the forum rules, please link to a test case - a test case that replicates the issue will ensure you'll get a quick and accurate response. Information on how to create a test case (if you aren't able to link to the page you are working on) is available here.
Colin
If it is causing you issues, your best bet might be to use the ASCII escaped representation for that code point.
replace in the CSS as needed.
DataTables 2 replaces the UTF8 icons with CSS borders to generate the arrows, in part to resolve this sort of thing.
Allan