|
Internationalized string sorting: msg#00042php.tcphp
Has anyone done this? Specifically, I have two strings, both UTF-8 encoded, and should have at least the ISO-3166 country code and possibly the ISO-639 language code. How do I determine the lexicographical order of these two strings? From what I can tell strcoll() doesn't work for this purpose as it assumes a character encoding based on the locale string passed to setlocale(). The multibyte extension (mbstring) doesn't include any string sorting/ ordering functions, either. -Bob |
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Re: thoughts on php5?: 00042, Daniel J Cain Jr. |
|---|---|
| Next by Date: | Re: Internationalized string sorting: 00042, Bob Glamm |
| Previous by Thread: | smarty security problemi: 00042, SysAdmin |
| Next by Thread: | Re: Internationalized string sorting: 00042, Bob Glamm |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |