Subject: revised describe function now on cvs branch
From: Vadim V. Zhytnikov
Date: Sat, 25 Nov 2006 13:13:38 +0300
> I have committed another revision of build_index.pl which (I hope)
> correctly
> computes the length of the deffn/defvr items (by counting characters
> instead of bytes).
>
> Node text lengths are not correct -- I need to make the same change for
> them.
> I'll work on that tomorrow (local time).
Hi Robert!
Great! Now it works almost fine except the length problem
you mentioning. But I worry that enforcing :utf8 for open
is not universal solution. It is OK with any utf8 locale and with
English but what about other languages in 8-bit encodings?
Maybe pt and es in iso-8859-1 are OK too since they have
small number of non-ASCII character codes.
As far as I know Perl's open accept any encoding
so maybe it is good idea to pass encoding
to build_index script as extra parameter?
Vadim
--
Vadim V. Zhytnikov
<vvzhy at mail.ru>
<vvzhy at netorn.ru>