According to Flavio Hendrigo:
> I'm from Brazil and i have a question for you about HTDIG.

A question for me, and me alone.  Are you 100% certain that nobody else on
the htdig-general mailing list would be able to deal with your question,
or be interested in the answer?  As I've already asked you before (June
19), please see http://www.htdig.org/FAQ.html#q1.16

Questions directly to me go to the back of the queue, which had gotten
quite large in my inbox this week.

> When i searching in my htdig ( 3.1.6), the word "calculo", i have this
> result:
> 
> *******************************************
> PUCPR - Curso de calculo integral.
> MIGUEL Y MERINE, Plabo. Curso de calculo integral. Habana: Cultural, 1942.
> 411 p. Acervo: 20820
> 
> PUCPR - Curso de calculo integral.
> MIGUEL Y MERINO, Plabo; Luiz Herminio Macarini. Curso de calculo integral.
> Sao Paulo: Mestre jov, 1964. 411 p. Acervo: 20821
> 
> PUCPR - C�lculo com geometria anal�tica.
> SWOKOWSKI, Earl Willian. C�lculo com geometria anal�tica. S�o Paulo:
> McGraw-Hill, 1983-1995. 2 v. Acervo: 8670
> 
> PUCPR - C�lculo III:
> �VILA, Geraldo S. S. C�lculo III: diferencial e integral. Rio de Janeiro:
> LTC, 1979. 249 p. Acervo: 63773
> *******************************************
> 
> Why the word "C�lculo" with accents, appears after (Curso) ?
> How i make for appears in alphabetic order  ?

You don't say so explicitly, but I assume you're sorting by title?
Unfortunately, the title sort simply uses strcasecmp() to compare titles.
This function does map upper to lower case (or maybe vice-versa), so
capitals and small letters are treated as equivalent, but it doesn't do
any mapping of accented characters.  In the ISO-8859-1 character set, the
accented letters have a higher numeric value than any of the unaccented
letters, so they appear last in the sort.

To do this properly would require a comparison function that deal with the
LC_COLLATE information in the current locale.  This is country-dependent,
as some languages treat accented letters as equivalent to their unaccented
counterparts for collation, while some languages (e.g. Swedish) don't.
If anyone can suggest an easy and portable way to do this, I'm open to
suggestions.

-- 
Gilles R. Detillieux              E-mail: <[EMAIL PROTECTED]>
Spinal Cord Research Centre       WWW:    http://www.scrc.umanitoba.ca/
Dept. Physiology, U. of Manitoba  Winnipeg, MB  R3E 3J7  (Canada)


-------------------------------------------------------
This sf.net email is sponsored by: OSDN - Tired of that same old
cell phone?  Get a new here for FREE!
https://www.inphonic.com/r.asp?r=sourceforge1&refcode1=vs3390
_______________________________________________
htdig-general mailing list <[EMAIL PROTECTED]>
To unsubscribe, send a message to <[EMAIL PROTECTED]> with a 
subject of unsubscribe
FAQ: http://htdig.sourceforge.net/FAQ.html

Reply via email to