[Tickets #6771] iTip reply to organizer containing extended characters

bugs at horde.org bugs at horde.org
Wed May 28 14:56:02 UTC 2008


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

Ticket URL: http://bugs.horde.org/ticket/6771
-----------------------------------------------------------------------
 Ticket             | 6771
 Created By         | patrick.abiven at apitech.fr
 Summary            | iTip reply to organizer containing extended characters
 Queue              | IMP
 Version            | 4.2
 Type               | Bug
 State              | Unconfirmed
 Priority           | 1. Low
 Milestone          |
 Patch              |
 Owners             |
-----------------------------------------------------------------------


patrick.abiven at apitech.fr (2008-05-28 10:56) wrote:

Hello
When an attendee accepts an invitation which name and description contain
extended characters (such as french accents), then the organizer receives a
message with incorrect characters.

A workaround is to utf8 encode the attributes of the vEvent_reply message
in imp/lib/MIME/Views/itip.php.

line 219:
if (!is_a($vEvent->getAttribute('SUMMARY'), 'PEAR_error')) {
- $vEvent_reply->setAttribute('SUMMARY',
$vEvent->getAttribute('SUMMARY'));
+ $vEvent_reply->setAttribute('SUMMARY', String::convertCharset
($vEvent->getAttribute('SUMMARY'), NLS::getCharset(), 'utf-8') );
}
if (!is_a($vEvent->getAttribute('DESCRIPTION'), 'PEAR_error')) {
- $vEvent_reply->setAttribute('DESCRIPTION',
$vEvent->getAttribute('DESCRIPTION'));
+ $vEvent_reply->setAttribute('DESCRIPTION', String::convertCharset
($vEvent->getAttribute('DESCRIPTION'), NLS::getCharset(), 'utf-8') );

regards
Patrick




More information about the bugs mailing list