Re: Foreign language sorting
[email protected] (Tomas Kuliavas) Sat, 26 Jan 2008 11:50:20 +0200
| Newsgroups | php.i18n |
|---|---|
| Message-ID | <[email protected]> |
> I am looking for a method to sort an array of strings, however the > strings are UTF8 and contain latin and non-latin characters. Is there a > method to sort a string such that letters such as e with an acute are > grouped with e without an acute, or even for strings that are made up > entirely of Thai or Cyrillic characters? > I really hope I don't have to roll my own sorting algorithm. See http://pecl.php.net/package/intl and http://docs.php.net/manual/en/book.intl.php