> > I made a patch to texindex (from texinfo-4.0) to support locale.
> > What it does:
> > - use unsigned char instead of char everywhere when dealing with input text
> > - conditionally use locale-aware functions when doing comparison
> > (if HAVE_SETLOCALE is not defined, use old method instead).
>
> I believe the document processing should not depend on the locale.
> Locale specifies the language of the *program* to be run, not of the
> document.  I think texindex should do the comparisons by the language
> specified by @documentlanguage, not $LANG or $LC_* variables.

OK, probably you are right.  Note, that it affects only the way how we set up
locale.  Feel free to fix that.  The rest of code remains valid.

--dima

Reply via email to