One thing you could do, is to detach the 'keypress' event which DataTables attaches to the 'input' element, and then add your own. Your event handler would then do something like Christian's PHP function (just in Javascript) and apply that to fnFilter ( http://datatables.net/api#fnFilter ). Then the user still has what they typed in, but you are filtering on the 'roman' alphabet :-)
Replies
Make a copy of your original strings and use a str_replace or strtr function to replace all accents with what you need.
i.e. :
[code]
$stringcopy = strtr($originalstring, "()!$'?: ,&+-/.¥µÀÁÂÃÄÅÆÇÈÉÊËÌÍÎÏÐÑÒÓÔÕÖØÙÚÛÜÝßàáâãäåæçèéêëìíîïðñòóôõöøùúûüýÿ",
"--------------SOZsozYYuAAAAAAACEEEEIIIIDNOOOOOOUUUUYsaaaaaaaceeeeiiiionoooooouuuuyy");
[/code]
Then put the strings without accents in a column, make it searchable, and make it hidden.
Make the column that displays the original string not searchable.
Christian
Regards,
Allan