Fix for people with utf-8 names. RT#84613
Tomas Doran [Sat, 13 Apr 2013 22:19:58 +0000 (23:19 +0100)]
Changes
share/lib/Helper/compclass.pm.tt
share/lib/MyApp.pm.tt

diff --git a/Changes b/Changes
index 5fef5eb..b5265ea 100644 (file)
--- a/Changes
+++ b/Changes
@@ -1,5 +1,9 @@
 This file documents the revision history for Perl extension Catalyst-Devel.
 
+        - Write =encoding utf8 into generated Pod files so that things
+          work as expected for people with utf-8 characters in their unix
+          username as returned by getpwuid (RT#84613)
+
 1.38 2013-04-11 20:54:00
         - Remove all PAR based deployment options, as they're unsupported
           and don't even pretend to work on 5.9 RT#83936
index ef8b581..791549b 100644 (file)
@@ -28,6 +28,9 @@ sub index :Path :Args(0) {
 }
 
 [% END %]
+
+=encoding utf8
+
 =head1 AUTHOR
 
 [%author%]
index c581743..15d0799 100644 (file)
@@ -45,6 +45,7 @@ __PACKAGE__->config(
 # Start the application
 __PACKAGE__->setup();
 
+=encoding utf8
 
 =head1 NAME