perl -e 'print (("A" eq chr(193) ? "ebcdic" : "ascii")."\n") '
Although it's odd that two sets of people are getting similar issues, there are different character sets, OSs and Perl versions in at least two of the cases, and the detailed error messages are different even though they have similarities - so it would be best to split Carl's Linux issue into a separate Support request.
All (but particularly z/OS users): lib/TWiki/Configure/Types/REGEX.pm has some suspicious code that would probably break EBCDIC usage - this code is basically validating a regular expression that is entered into configure. See line 30 in particular, which hard-codes ASCII values:
$value =~ s/([[\x01-\x09\x0b\x0c\x0e-\x1f"%&'*<=>@[_\|])/'&#'.ord($1).';'/ge;To fix or work around this:
configure - something of a hack as you'll need to do this again every time you save from configure
grep -R '\b0x[0-9a-f][0-9a-f]' . doesn't reveal anything important (the Attach.pm hits are where it looks at image file headers which will remain in ASCII I think).
-- RichardDonkin - 19 Mar 2008
Closing question, seems to be answered.
Best to open a bug report if there is one. Link provided in sidebar.
-- PeterThoeny - 01 May 2008