bug 1005479: remove hardcoded charset

This commit is contained in:
Marc Delisle
2004-08-15 12:00:24 +00:00
parent 7a03e56e50
commit 49d79d2321
3 changed files with 3 additions and 3 deletions

View File

@@ -226,7 +226,7 @@ require_once('./libraries/header_http.inc.php');
*/
// Gets the font sizes to use
PMA_setFontSizes();
echo "<?xml version=\"1.0\" encoding=\"iso-8859-1\"?".">"; // remove vertical scroll bar bug in ie
echo "<?xml version=\"1.0\" encoding=\"" . $GLOBALS['charset'] . "\"?".">"; // remove vertical scroll bar bug in ie
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

View File

@@ -42,7 +42,7 @@ PMA_setFontSizes();
*/
require_once('./libraries/relation.lib.php');
$cfgRelation = PMA_getRelationsParam();
echo "<?xml version=\"1.0\" encoding=\"" . $GLOBALS['charset'] . "\"?".">"; // remove vertical scroll bar bug in ie
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

View File

@@ -13,7 +13,7 @@ require_once('./libraries/header_http.inc.php');
/* Gets the font sizes to use */
PMA_setFontSizes();
/* remove vertical scroll bar bug in ie */
echo "<?xml version=\"1.0\" encoding=\"iso-8859-1\"?".">";
echo "<?xml version=\"1.0\" encoding=\"" . $GLOBALS['charset'] . "\"?".">";
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">