]> git.donarmstrong.com Git - debbugs.git/blobdiff - Debbugs/Common.pm
for some reason, encoding(UTF-8) doesn't work for globified scalars. Use utf8 instead.
[debbugs.git] / Debbugs / Common.pm
index 279893c135bb98a4fda11d8dbd652cb2ffc64e10..11c339bf6665ced76095684d01c8c147af5d5d9f 100644 (file)
@@ -839,7 +839,7 @@ sub globify_scalar {
               carp "Given a non-scalar reference, non-glob to globify_scalar; returning /dev/null handle";
          }
      }
-     return IO::File->new('/dev/null','>:utf8');
+     return IO::File->new('/dev/null','>:encoding(UTF-8)');
 }
 
 =head2 cleanup_eval_fail()