# Attached file for this post is deleted, new version is attached to the replying post
How do you non-English (translated) lotgd server admins handle charset for HTML header ?
You can expect users to set appropriate charset setting or use "auto-detect"in their browser, but I wanted to send HTML with charset setting to ensure players can see lotgd pages with correct charset setting.
I made a module to insert <meta> tag for charset in HTML (attached to this post). But it needs some new modulehook.
Are there any other way to modify existing page template/output from module?
Needed modification to use this module:
lib/pageparts.php line 56-58
1.0.2 original code:
$header = $template['header'];
$header=str_replace("{title}",$title,$header);
$header.=tlbutton_pop();
modified:
$header = $template['header'];
$header = array_pop(modulehook("pageheader", array('header'=>$header))); // Hidehisa
$header=str_replace("{title}",$title,$header);
$header.=tlbutton_pop();
lib/pageparts.php line 355-35
1.0.2 original code
$header = $template['popuphead'];
$header = array_pop(modulehook("popupheader", array('header'=>$header))); // Hidehisa
$header = str_replace("{title}", $title, $header);
modified code
$header = $template['popuphead'];
$header = array_pop(modulehook("popupheader", array('header'=>$header))); // Hidehisa
$header = str_replace("{title}", $title, $header);