Encode en utf8 le nom de la ville et de la société

This commit is contained in:
Rodolphe Quiedeville 2004-05-04 12:35:18 +00:00
parent 370573be78
commit 04ba55720e

View File

@ -135,10 +135,10 @@ class Contact
{ {
$soc = new Societe($this->db); $soc = new Societe($this->db);
$soc->fetch($this->socid); $soc->fetch($this->socid);
$info["o"] = $soc->nom; $info["o"] = utf8_encode($soc->nom);
if ($soc->ville) if ($soc->ville)
{ {
$info["l"] = $soc->ville; $info["l"] = utf8_encode($soc->ville);
} }
} }