am using jquery tablesorter plugin and in my "country" column i got special characters like this: Índia.
The fact is开发者_如何学C 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.
This person had the same problem you did. Check this question out: Efficiently replace all accented characters in a string?
精彩评论