Question

am using jquery tablesorter plugin and in my "country" column i got special characters like this: Índia.

The fact is that when i hit the header of the column to sort it, it puts my "Índia" at the end of the column. I guess the nav sees the Í instead of the real "I" with an accent.

Any clue on how to make it work even with accents ?

Here's the js code in my domready:

$.tablesorter.defaults.widgets = ['zebra'];
$.tablesorter.defaults.sortList = [[0,0]];
$("table").tablesorter();

Thanks in advance.

Was it helpful?

Solution

This person had the same problem you did. Check this question out: Efficiently replace all accented characters in a string?

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top