Sorting text with multibyte characters
| From: | Michal Migurski | Date: | Sat, 01 May 2004 22:28:39 +0000 |
| Subject: | Sorting text with multibyte characters | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-185111@lists.php.net to get a copy of this message | ||
Hi,
Does anyone have any thoughts on how to effectively sort text with
multi byte characters? I am working on a project that uses lots of German
text, and the letters with umlauts don't sort correctly. I'm using the
mb_* functions in a few places (to adapt an ASCII-encoded database to XML
output for flash, which is always expected to be in UTF-8), but none of
them seems to be made for string comparison.
thanks,
-mike.
---------------------------------------------------------------------
michal migurski- contact info and pgp key:
sf/ca http://mike.teczno.com/contact.html