Moved some output, so that page_header.php can send headers.
[squirrelmail.git] / functions / page_header.php
index 324206b5855e1fd9f91a844a73bb1d59c4f3c553..cd4ba6ae9279f863690ffa9e002c149b415154c2 100644 (file)
@@ -6,6 +6,10 @@
     **
     **/
 
+   // This is done to ensure that the character set is correct when
+   // receiving input from HTTP forms
+   header ("Content-Type: text/html; charset=iso-8859-1");
+
    function displayPageHeader($color, $mailbox) {
       /** Here is the header and wrapping table **/
       $shortBoxName = readShortMailboxName($mailbox, ".");