From: Michael J. Rubinsky Date: Sun, 6 Jun 2010 15:59:55 +0000 (-0400) Subject: Add missing charset conversion. X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=335be6897f6175e840cc3460eadcc849a7127918;p=horde.git Add missing charset conversion. Need to convert the charset here also, if fileas isn't already populated from the name field. Thanks to Lukas Gradl for tracking this one down. --- diff --git a/turba/lib/Driver.php b/turba/lib/Driver.php index cf283653b..2c3ae691f 100644 --- a/turba/lib/Driver.php +++ b/turba/lib/Driver.php @@ -2420,7 +2420,7 @@ class Turba_Driver } if (empty($this->fileas)) { - $message->fileas = Turba::formatName($object); + $message->fileas = Horde_String::convertCharset(Turba::formatName($object), $charset, 'utf-8'); } return $message;