Forum > General

TStringList.Sort

(1/2) > >>

typo:
Sorting wide characters in a TStringList is not made correctly, because the accented words are positioned before all the other words. Is it a bug? Should I create a bug report?

theo:

--- Quote from: typo on February 27, 2010, 08:43:54 pm ---Sorting wide characters in a TStringList is not made correctly, because the accented words are positioned before all the other words. Is it a bug? Should I create a bug report?

--- End quote ---

Can you show how you do this?
TStringList works with AnsiString not with WideString/WideChar

typo:
I simply used a sorted TStringList to sort a list of words in a literary text in portuguese. The words that began with accented characters were positioned before all the other words.

Better saying, the words beginning with accented characters were position following the word "a".

typo:
Like this:

A
à
às
ônibus
é
época
aba
abateria
abatia-se
aberta
aberto
aborrecido
abraçado
Abriu
acaju
acenava
achatadas

typo:
Or this:

andava
anos
ansiedade
Antônio  <<<
antes     
ao
última   <<<<<<<<<<<<<<<<<<<<
úmido   <<<<<<<<<<<<<<<<<<<<
Aonde
aos
aparência   <<<<<
aparecendo
aparecer
apareceu

Navigation

[0] Message Index

[#] Next page

Go to full version