00980: $HTMLHeaderFmt['utf-8'] declared but not 'global'-ed in xlpage-utf-8.php

Summary: $HTMLHeaderFmt['utf-8'] declared but not 'global'-ed in xlpage-utf-8.php
Created: 2007-09-28 06:05
Status: Closed (fixed for 2.2.2)
Category: Bug
Assigned:
Priority: 4
Version: 2.2.0-beta63
OS:

Description: In xlpage-utf-8.php there's a declaration of:

 
$HTMLHeaderFmt['utf-8'] = 
  "<meta http-equiv='Content-Type' content='text/html; charset=utf-8' />"; 

However, that seems not to get its way into the final HTML. I suppose that the reason may be that $HTMLHeaderFmt isn't declared in the global variables line in xlpage-utf-8.php. As I understand it, the line should either be deleted or globals extended.

An example of this can be seen at http://abw.agh.edu.pl (I'm using XLPage with utf-8 there).


This is still true for 2.2.0-beta68.

CarlosAB December 10, 2008, at 12:17 PM

I fixed it for 2.2.2, thanks! I am using UTF-8 for ages, but I always include xlpage-utf-8.php explicitly in config.php, that's why I never noticed the problems (there were more global variables to fix). Thanks! --Petko May 07, 2009, at 11:49 PM