среда, 9 сентября 2015 г.

Unknown encoding 'UTF-16BE

I'm decided to create portable https://metacpan.org/pod/release/MISHIN/FamilyTreeInfo-2.3.19/lib/Ftree.pod
and got error:

The application raised the following error: Unknown encoding 'UTF-16BE' at C:/Ftree-portable/lib/DataParsers/ExcelFormat.pm line 100. and the StackTrace middleware couldn't catch its stack trace, possibly because your application overrides $SIG{__DIE__} by itself, preventing the middleware from working correctly. Remove the offending code or module that does it: known examples are CGI::Carp and Carp::Always.

I'm decided error with copy
this module
c:\test_app\strawberry-perl-5.20.0.1-64bit-portable\perl\lib\Encode\Unicode.pm
c:\test_app\strawberry-perl-5.20.0.1-64bit-portable\perl\lib\Encode\Unicode\UTF7.pm
to my distribution

Waw!