You are here: Foswiki>Tasks Web>Item13945 (01 May 2016, GeorgeClark)Edit Attach

Item13945: Software error with Perl 5.10. Can't find Ascii Unicode entity.

pencil
Priority: Normal
Current State: Closed
Released In: 2.1.1
Target Release: patch
Applies To: Engine
Component: Configure
Branches: master Item13897
Reported By: JeffSiddall
Waiting For:
Last Change By: GeorgeClark
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
 

ItemTemplate edit

Summary Software error with Perl 5.10. Can't find Ascii Unicode entity.
ReportedBy JeffSiddall
Codebase 2.1.0, trunk
SVN Range
AppliesTo Engine
Component Configure
Priority Normal
CurrentState Closed
WaitingFor
Checkins distro:7c9724392d18
TargetRelease patch
ReleasedIn 2.1.1
CheckinsOnBranches master Item13897
trunkCheckins
masterCheckins distro:7c9724392d18
ItemBranchCheckins distro:7c9724392d18
Release02x00Checkins
Release01x01Checkins
Topic revision: r6 - 01 May 2016, GeorgeClark
The copyright of the content on this website is held by the contributing authors, except where stated elsewhere. See Copyright Statement. Creative Commons License    Legal Imprint    Privacy Policy