From 335be6897f6175e840cc3460eadcc849a7127918 Mon Sep 17 00:00:00 2001 From: "Michael J. Rubinsky" Date: Sun, 6 Jun 2010 11:59:55 -0400 Subject: [PATCH] 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. --- turba/lib/Driver.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.11.0