From 04ba55720e98e19e36f264925e78be45560adc4b Mon Sep 17 00:00:00 2001 From: Rodolphe Quiedeville Date: Tue, 4 May 2004 12:35:18 +0000 Subject: [PATCH] =?UTF-8?q?Encode=20en=20utf8=20le=20nom=20de=20la=20ville?= =?UTF-8?q?=20et=20de=20la=20soci=E9t=E9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- htdocs/contact.class.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/htdocs/contact.class.php b/htdocs/contact.class.php index 9120d2ff87f..0e9128b8d3d 100644 --- a/htdocs/contact.class.php +++ b/htdocs/contact.class.php @@ -135,10 +135,10 @@ class Contact { $soc = new Societe($this->db); $soc->fetch($this->socid); - $info["o"] = $soc->nom; + $info["o"] = utf8_encode($soc->nom); if ($soc->ville) { - $info["l"] = $soc->ville; + $info["l"] = utf8_encode($soc->ville); } }