Re: Foreign language sorting
| From: | Tomas Kuliavas | Date: | Sat, 26 Jan 2008 09:50:20 +0000 |
| Subject: | Re: Foreign language sorting | ||
| References: | 1 | Groups: | php.i18n |
| Request: | Send a blank email to php-i18n+get-1154@lists.php.net to get a copy of this message | ||
> 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