Guy, It appears that the natural sort works with unicode characters - at least in FF3. This is due to the fact that it uses the browser's built in comparison operators (< and >) on strings - even unicode characters. Other sorts I've seen rely on translating blocks of strings with solely [:[alpha]:] or a /[\D]{1,}/. I'll put a better test case together on my site so you can see the unicode sorting and I'll test other browsers, but I would imagine they would work the same considering this uses the built in comparisons. The catch will be ensuring this sorts appropriately on mixed unicode and numeric digit fields.
I just tested with the appending to the beginning of some cell's text some arabic characters in the 600 block, i.e. '\u0631', '\u0632', etc. I'll let you know when the test case is done! Thanks for the input! On Tue, Sep 2, 2008 at 2:30 AM, Guy Fraser <[EMAIL PROTECTED]> wrote: > > Mike Nichols wrote: > > sweet...i implemented natural sorting in tablesorter but it never got > > put in so I am thrilled to see it baked into your implementation... > > looks good > > > Does the natural sort work with Unicode chars (Chinese, Norwegian, etc)? > > > > -- Jim Palmer ! [EMAIL PROTECTED]