WeBWorK Main Forum

The problem with Encode.pm in Webwork2.15.

The problem with Encode.pm in Webwork2.15.

by Dongchuan Luo -
Number of replies: 0

Hi All,

Happy New Year.

We just upgraded our WeBWorK to 2.15. Our platform is CentOS7, LMS is Canvas. Now user encountered a problem  --- when they tried to add a course into WW over Canvas if the course has a unicode EN DASH "–" in its course name and code, they will get the following error:

Error messages

Cannot decode string with wide characters at /usr/lib64/perl5/vendor_perl/Encode.pm line 176.

Call stack

The information below can help locate the source of the problem.

in Encode::decode called at line 155 of /opt/webwork/webwork2/lib/WeBWorK/Authen/LTI.pm
in WeBWorK::Authen::LTI::authenticate called at line 785 of /opt/webwork/webwork2/lib/WebworkBridge/Bridges/LTIBridge.pm
in WebworkBridge::Bridges::LTIBridge::_verifyMessage called at line 157 of /opt/webwork/webwork2/lib/WebworkBridge/Bridges/LTIBridge.pm
in WebworkBridge::Bridges::LTIBridge::run called at line 50 of /opt/webwork/webwork2/lib/WebworkBridge/BridgeManager.pm
in WebworkBridge::BridgeManager::run called at line 306 of /opt/webwork/webwork2/lib/WeBWorK.pm

I can't find out the reason. Anybody can help me?

Thanks.

Dongchuan