Item359: Wysiwyg utf_8 unit tests fail if perl Encode module is too old(?)
Priority: Low
Current State: No Action Required
Released In:
Target Release:
My system (Ubuntu 8.04) had Encode::Encoding version 2.02 installed.
In this state, get errors like this for 4 tests
WysiwygPluginTests::test_save_utf_8d
Cannot decode string with wide characters at /usr/lib/perl/5.8/Encode.pm line 166.
I upgraded Encode::Encoding using CPAN (to version 2.26). Now I don't get the errors.
So somewhere between the 2 versions mentioned above, is the first version that doesn't fail the unit tests.
--
Foswiki:Main.EliotBlennerhassett
I cannot see how we can resolve this.
An older version of Encode had a bug. A bug that probably also affects normal use once you really start using UTF8 in e.g. Chinese.
The only things the person installing do is upgrade the Encode to the recommended version
--
KennethLavrsen - 17 Dec 2008
In the CGI Setup section of
configure is it possible to have a warning on the module in the Perl modules section, either triggered by version, or by a runtime test?
--
EliotBlennerhassett - 18 Dec 2008