[tex-live] xindy vs utf8 latex

Reinhard Kotucha reinhard.kotucha at web.de
Wed May 7 13:01:01 CEST 2014


On 2014-05-07 at 08:46:51 +0000, Lars Madsen wrote:

 > Just out of curiosity what is so wrong with the workaround posted
 > in that TSE answer. Is it because utf8 sorting is very nontriviel?

Sorting is always non-trivial, even in ASCII:

| Lua 5.2.2  Copyright (C) 1994-2013 Lua.org, PUC-Rio
| > print ('a' < 'Z')
| false

> (I still haven't figuired out how to do proper sorting i mysql on
> utf8 data)

  http://www.unicode.org/reports/tr10/

If you have to support Danish only, you can implement your own sorting
function using a simple lookup table, otherwise you probably need a
library like ICU.

  http://www-01.ibm.com/software/globalization/icu/

Regards,
  Reinhard

-- 
----------------------------------------------------------------------------
Reinhard Kotucha                                      Phone: +49-511-3373112
Marschnerstr. 25
D-30167 Hannover                              mailto:reinhard.kotucha at web.de
----------------------------------------------------------------------------
Microsoft isn't the answer. Microsoft is the question, and the answer is NO.
----------------------------------------------------------------------------



More information about the tex-live mailing list