[#6771] iTip reply to organizer containing extended characters
Summary iTip reply to organizer containing extended characters
Queue IMP
Queue Version 4.2
Type Bug
State No Feedback
Priority 1. Low
Owners Horde Developers
Requester patrick (dot) abiven (at) apitech (dot) fr
Created 05/28/2008 (132 days ago)
Due
Updated 08/29/2008 (39 days ago)
Assigned 08/18/2008 (50 days ago)
Resolved 08/29/2008 (39 days ago)
Attachments
Milestone
Patch No

History
08/29/2008 Jan Schneider State ⇒ No Feedback
 
08/18/2008 Jan Schneider Comment #2
Milestone ⇒
State ⇒ Feedback
Reply to this comment
I can't reproduce any problems with non-ascii charsets in iTip replies.
07/06/2008 Jan Schneider Milestone ⇒ 4.2.1
 
05/31/2008 Jan Schneider State ⇒ Assigned
Assigned to Horde DevelopersHorde Developers
 
05/28/2008 patrick (dot) abiven (at) apitech (dot) fr Comment #1
Patch ⇒
Milestone ⇒
Queue ⇒ IMP
Summary ⇒ iTip reply to organizer containing extended characters
Type ⇒ Bug
Priority ⇒ 1. Low
State ⇒ Unconfirmed
Reply to this comment
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