On Sat, 3 Jul 2004 16:13:02 -0400 Behdad Esfahbod <[EMAIL PROTECTED]> wrote:
> Actually there's a middle solution here, which the price is just > messing a bit with your database schema. All you need is to > store the string returned by strxfrm(str) in your database as a > binary field, and just sort on that column instead of str. > > behdad That might work for Ehsan, but it sadly wouldn't save much effort for us since PHP doesn't do Persian UTF-8 collation (that I've been able to get working anyway), or provide access to strxfrm() :-( - which is why MySql seemed the least bad option. Peter -- Peter Cruickshank peter cruickshank biz _______________________________________________ PersianComputing mailing list [EMAIL PROTECTED] http://lists.sharif.edu/mailman/listinfo/persiancomputing