removing guessencoding, hard-coding utf-8
[koha.git] / C4 / Auth.pm
index c4baf09..23f7e08 100644 (file)
@@ -60,7 +60,7 @@ C4::Auth - Authenticates Koha users
                          });
 
   print $query->header(
-    -type => guesstype($template->output),
+    -type => 'utf-8',
     -cookie => $cookie
   ), $template->output;
 
@@ -659,7 +659,7 @@ sub checkauth {
         -expires => ''
     );
     print $query->header(
-        -type   => guesstype( $template->output ),
+        -type   => 'utf-8',
         -cookie => $cookie
       ),
       $template->output;