[ic] Encode::find_encoding error

Josh Lavin jlavin at endpoint.com
Wed Dec 2 16:46:16 UTC 2015


Quoting Dan Bergan (danbergan at gmail.com):
> On Wed, Dec 2, 2015 at 8:46 AM, David Christensen <david at endpoint.com> wrote:
> >
> >
> > What version of perl are you running?  This is related to the $Tag->file() call; different versions of perl have changed how encoding works with the Safe module, so this may need an additional patch to get working properly.  I am going to be releasing a new Interchange version soon, so if I can reproduce the issue I’ll see about including that fix as well.
> >
> 
> I'm running perl 5.8.9 (unthreaded).
> 
> It does look like the Strap catalog has utf-8 defined, where my old
> catalogs do not, so I see that is why I'm getting the error only on
> one catalog.  But, I would obviously like to get that working.

Dan, see this from the Strap README:

* There may be problems with UTF-8 and recent Perls. You can disable
  UTF-8 by commenting 2 lines in catalog.cfg, under "Encoding". For
  instance, this is a known issue with UTF-8 enabled:
    https://github.com/interchange/interchange/issues/84
  If disabling, set an environment variable of `MINIVEND_DISABLE_UTF8` to `1`

Those 2 lines are here:
https://github.com/interchange/interchange/blob/master/dist/strap/catalog.cfg#L36

You can try without those; restart and see if it works. If not, I would
also do:

    export MINIVEND_DISABLE_UTF8=1

from your shell, and restart IC again and see if that does it. If so,
you can add that environment variable to your .bashrc for your IC user.

-- 
Josh Lavin
End Point Corporation



More information about the interchange-users mailing list