Item13945: Software error with Perl 5.10. Can't find Ascii Unicode entity.
Priority: Normal
Current State: Closed
Released In: 2.1.1
Target Release: patch
Applies To: Engine
Component: Configure
Branches: master
Item13897
When installing Foswiki 2.1 on CentOS 6, which comes with Perl 5.10, the following error appears:
Can't find Unicode property definition "Ascii" at /opt/rh/httpd24/root/var/www/fw2_1/lib/Foswiki/Configure/FileUtil.pm line 1079.
The "Ascii" on line 1079 in FileUtil.pm needed to be in full upper case as in "ASCII"
Once this is changed Foswiki runs correctly
--
JeffSiddall - 06 Feb 2016
This seems to be a bug in perl. The unicode properties are supposed to be case insensitive. In any event, will fix this for 2.1.1 ... Thanks for the solution. Verified that ASCII works on Perl 5.23.1 so checked in the change.
--
GeorgeClark - 07 Feb 2016
Not really a bug, just a new feature. If you look at the 5.10 documentation it does not mention property case insensitivity. That "feature" first appeared in 5.12.
Also, I can't claim credit for the solution, some helpful people on IRC found that.
--
JeffSiddall - 08 Feb 2016