|
Re: Internationalized string sorting: msg#00043php.tcphp
As a followup, it appears that IBM's International Components for Unicode (ICU, http://icu.sourceforge.net/) is capable of handling most of these issues. It's not in PHP (C, C++, or Java) but it can generate strcmp()-compatible sort keys that can be tossed into the database alongside the language-specific strings, so an ORDER BY clause can reference the sort-key column and get the desired results. IIRC there is also a preliminary ICU -> PHP binding extension that can be used as well, but I don't know that it supports every ICU feature available. -Bob Specifically, I have two strings, both UTF-8 encoded, and should have |
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Internationalized string sorting: 00043, Bob Glamm |
|---|---|
| Next by Date: | Re: thoughts on php5?: 00043, Chris Ward |
| Previous by Thread: | Internationalized string sortingi: 00043, Bob Glamm |
| Next by Thread: | Collaborative PHP project: Any movie fans?: 00043, J Wynia |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |