[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
UTF-8 related test failure: tests/fmt/basic
From: |
Jim Meyering |
Subject: |
UTF-8 related test failure: tests/fmt/basic |
Date: |
Sat Nov 16 11:36:32 2002 |
Hi Bruno,
Thanks for another nice bug report!
Here is a patch. Would you please let me know whether it works?
Jim
Index: tests/Fetish.pm
===================================================================
RCS file: /fetish/cu/tests/Fetish.pm,v
retrieving revision 1.11
diff -u -p -u -p -r1.11 Fetish.pm
--- tests/Fetish.pm 13 May 2001 15:22:23 -0000 1.11
+++ tests/Fetish.pm 16 Nov 2002 16:03:34 -0000
@@ -8,6 +8,10 @@ require 5.003;
use strict;
use vars qw($VERSION @ISA @EXPORT);
+# In modern versions of Perl (e.g., 5.8), ensure that certain
+# sequences of bytes are not mistaken for malformed UTF-8 characters.
+eval 'use bytes';
+
use FileHandle;
use File::Compare qw(compare);
- (no subject), Bruno Haible, 2002/11/11
- UTF-8 related test failure: tests/fmt/basic,
Jim Meyering <=