From 4deef73977d2ab78786e222bce20c4e4757d0d6e Mon Sep 17 00:00:00 2001 From: Fil <fil@rezo.net> Date: Wed, 31 Jul 2002 22:50:11 +0000 Subject: [PATCH] =?UTF-8?q?pour=20l'internationalisation=20:=20possibilite?= =?UTF-8?q?=20de=20specifier=20un=20spip=5Fmeta(charset)=20diff=C3=A9rent?= =?UTF-8?q?=20du=20standard=20iso-8859-1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ecrire/inc_presentation.php3 | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ecrire/inc_presentation.php3 b/ecrire/inc_presentation.php3 index e2a1bba3cd..93a8f4f796 100644 --- a/ecrire/inc_presentation.php3 +++ b/ecrire/inc_presentation.php3 @@ -810,6 +810,9 @@ function debut_html($titre = "") { $titre = textebrut(typo($titre)); if ($nom_site_spip == "") $nom_site_spip="SPIP"; + + $charset = lire_meta('charset') || + $charset = 'iso-8859-1'; ?> <html> @@ -818,7 +821,7 @@ function debut_html($titre = "") { <meta http-equiv="Expires" content="0"> <meta http-equiv="cache-control" content="no-cache,no-store"> <meta http-equiv="pragma" content="no-cache"> - <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> + <meta http-equiv="Content-Type" content="text/html; charset=<?php echo $charset ; ?>"> <style><!-- .forml {width: 100%; background-color: #E4E4E4; background-position: center bottom; float: none; color: #000000} .formo {width: 100%; background-color: <?php echo $couleur_claire; ?>; background-position: center bottom; float: none;} -- GitLab