while (list($alias) = $citer->next()) {
$user = get_user_details($alias);
+ foreach ($user as &$value) {
+ if (is_utf8($value)) {
+ $value = utf8_decode($value);
+ }
+ }
$pdf = ContactsPDF::addContact($pdf, $user, $arg0 == 'photos' || $arg1 == 'photos');
}
$pdf->Output();
$this->SetFont('Vera Sans', 'B', 20);
$this->SetTextColor(230);
$this->Rotate(45, 55, 190);
- $this->Text(55, 190, "informations limitées à un usage");
- $this->Text(40, 210, "strictement personnel et non commercial");
+ $this->Text(55, 190, utf8_decode("informations limitées à un usage"));
+ $this->Text(40, 210, utf8_decode("strictement personnel et non commercial"));
$this->Rotate(0);
$this->setLeftMargin(5);
foreach ($x['adr'] as $a) {
$self->Space();
+ foreach ($a as &$value) {
+ if (is_utf8($value)) {
+ $value = utf8_decode($value);
+ }
+ }
$self->Address($a);
}
{
continue;
}
+ foreach ($a as &$value) {
+ if (is_utf8($value)) {
+ $value = utf8_decode($value);
+ }
+ }
$self->Space();
$self->AddressPro($a);
}