[Tickets #8286] Re: Moving folders containing umlauts may cause misencoded folder names

bugs at horde.org bugs at horde.org
Mon May 18 09:23:29 UTC 2009


DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.

Ticket URL: http://bugs.horde.org/ticket/8286
------------------------------------------------------------------------------
  Ticket             | 8286
  Updated By         | rainer.groesslinger at gmail.com
  Summary            | Moving folders containing umlauts may cause misencoded
                     | folder names
  Queue              | DIMP
  Version            | 1.1.2
  Type               | Bug
  State              | Assigned
  Priority           | 1. Low
  Milestone          |
  Patch              |
  Owners             | Michael Slusarz
+New Attachment     | imp.patch
------------------------------------------------------------------------------


rainer.groesslinger at gmail.com (2009-05-18 05:23) wrote:

Attached is a proposed patch.

The patch calls String::convertCharset only on the new folder at the  
beginning, not the whole structure at the end as $new_parent enters  
the function already encoded.

An alternative would perhaps be to decode $old and $new_parent at the  
beginning and leave the String::convertCharset at its current place.
It at least fixes my problem, but I am not too deep into (d)imp to  
verify that it doesn't break something else, please verify and apply  
whatever fits best :)






More information about the bugs mailing list