00980: $HTMLHeaderFmt['utf-8'] declared but not 'global'-ed in xlpage-utf-8.php (Closed (fixed for 2.2.2))
$HTMLHeaderFmt['utf-8'] declared but not 'global'-ed in xlpage-utf-8.php
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
isn't declared in the
global variables line in xlpage-utf-8.php. As I understand it, the line should either be deleted or
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