Re: handling of different encodings

Dumas Patrice <[email protected]> Fri, 6 Feb 2004 19:43:39 +0100
Newsgroups gmane.comp.tex.texi2html.devel
Message-ID <[email protected]>
> Why not have configure detect the perl version and decide to include the
> Encode module when the version is high enough?  That should be fairly
> straight-forward.  If the perl version isn't high enough, it would
> include the non-encode module.

I did exactly that. Look in configure.in, I verify that
use Encode;
works.

> There is one good reason to have the code detect at run time though - we
> would no longer be able to distribute an architecture independant
> version of the script.  It would have to be built on each platform or at
> least we would have to distribute two versions, but as things stand we
> almost have to do that anyhow.

The check is done at run time if texi2html is called with texi2html.pl

Pat