On May 26, 2006, at 3:57 PM, Devin Asay wrote:

A 'sort lines' command, after converting upper case to lower, works fairly well, except that, curiously, a space sorts *after* all cyrillic chars.


I think I figured out what it is. 'sort' seems to see NUL as the end of the string and U+0020 has virtually a NUL in it. Try this test:

on mouseUp
  put "a" & NULL & "z" & lf & "a" & NULL & "b" into d
  sort d
  replace NULL with "x" in d
  put d
end mouseUp
==>
axz
axb

We have been bitten by C again.

Dar
_______________________________________________
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution

Reply via email to