From: unbewusst.sein@... (=?ISO-8859-1?Q?Une_B=E9v?= =?ISO-8859-1?Q?ue?=) Date: 2007-12-09T04:15:11+09:00 Subject: Re: sorting Array of accentuated Strings MonkeeSage wrote: > An ascii char is always going to be less than a utf-8 char, > since utf-8 is a superset of ascii. > > Fen�tre <=> �tre -> > > F (\x46) <=> � (\xc3\x8a) -> > > -1 yes, for sure, but, in order to compare F to � i've to know F uses only one byte and � two butes, in other words : decompose a string into an arrau of characters and compare afterwards... obviously for the question given by Axel, that's to say ordering between : ���� various diaresis, i leave the ordering as it is in the unicode number (UTF-8 in my case) quiet frankly i don't know what is the french policy for that, i just want having all e + diaresis between e and f... -- Une B�vue