diff options
author | ph10 <ph10@2f5784b3-3f2a-0410-8824-cb99058d5e15> | 2012-01-14 16:20:44 +0000 |
---|---|---|
committer | ph10 <ph10@2f5784b3-3f2a-0410-8824-cb99058d5e15> | 2012-01-14 16:20:44 +0000 |
commit | 3cbf1c2db892334e94f79fbed6f83ff33ba5297c (patch) | |
tree | 943d276f29fdd6132f36f982ebe78f9af4b47f37 /doc | |
parent | 32925a47941f651ab158479c977828875c478348 (diff) | |
download | pcre-3cbf1c2db892334e94f79fbed6f83ff33ba5297c.tar.gz |
Fix issues with UTF-8 in the Perl checking script.
git-svn-id: svn://vcs.exim.org/pcre/code/trunk@871 2f5784b3-3f2a-0410-8824-cb99058d5e15
Diffstat (limited to 'doc')
-rw-r--r-- | doc/perltest.txt | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/doc/perltest.txt b/doc/perltest.txt index 3785bdd..37e0012 100644 --- a/doc/perltest.txt +++ b/doc/perltest.txt @@ -28,13 +28,15 @@ the initial identifying banner. The perltest.pl script can also test UTF-8 features. It recognizes the special modifier /8 that pcretest uses to invoke UTF-8 functionality. The testinput4 and testinput6 files can be fed to perltest to run compatible UTF-8 tests. -However, it is necessary to add "use utf8;" to the script to make this work -correctly. +However, it is necessary to add "use utf8; require Encode" to the script to +make this work correctly. I have not managed to find a way to handle this +automatically. The other testinput files are not suitable for feeding to perltest.pl, since they make use of the special upper case modifiers and escapes that pcretest -uses to test some features of PCRE. Some of these files also contains malformed -regular expressions, in order to check that PCRE diagnoses them correctly. +uses to test certain features of PCRE. Some of these files also contain +malformed regular expressions, in order to check that PCRE diagnoses them +correctly. Philip Hazel January 2012 |