diff --git a/src/tablekit.js b/src/tablekit.js index 1eeb397..496ee4c 100755 --- a/src/tablekit.js +++ b/src/tablekit.js @@ -603,7 +603,7 @@ TableKit.Sortable.addSortType( return TableKit.Sortable.Type.compare(new Date(ds + a),new Date(ds + b)); }}), new TableKit.Sortable.Type('currency',{ - pattern : /^[$����]/, // dollar,pound,yen,euro,generic currency symbol + pattern : /^[$£¥€¤]/, // dollar,pound,yen,euro,generic currency symbol normal : function(v) { return v ? parseFloat(v.replace(/[^-\d\.]/g,'')) : 0; }}) @@ -935,4 +935,4 @@ TableKit.Bench = { } } */ -document.observe("dom:loaded", TableKit.load); \ No newline at end of file +document.observe("dom:loaded", TableKit.load);