Summary | Tickets created by email are not correctly encoded |
Queue | Whups |
Queue Version | 1.0 |
Type | Bug |
State | Resolved |
Priority | 2. Medium |
Owners | jan (at) horde (dot) org |
Requester | thomas (at) gelf (dot) net |
Created | 11/27/2008 (6060 days ago) |
Due | |
Updated | 03/16/2009 (5951 days ago) |
Assigned | 12/01/2008 (6056 days ago) |
Resolved | 03/16/2009 (5951 days ago) |
Github Issue Link | |
Github Pull Request | |
Milestone | |
Patch | No |
State ⇒ Resolved
http://cvs.horde.org/diff.php/whups/docs/CHANGES?rt=horde&r1=1.218.2.11&r2=1.218.2.12&ty=u
http://cvs.horde.org/diff.php/whups/lib/Mail.php?rt=horde&r1=1.46.2.1&r2=1.46.2.2&ty=u
Summary ⇒ Tickets created by email are not correctly encoded
State ⇒ Assigned
// Set charset to UTF-8 for most flexible conversion between email charset
// and backend charset.
NLS::setCharsetEnvironment('UTF-8');
So my guess regarding other systems may be wrong. This is also the reason
why setting LC_ALL to different encodings had no impact in my tests.
Priority ⇒ 2. Medium
Type ⇒ Bug
Summary ⇒ Tickets created by mail are not correctly encoded
Queue ⇒ Whups
Milestone ⇒
Patch ⇒ No
State ⇒ Unconfirmed
_buildComment(). This function doesn't seem to care about mail
encoding - replacing
$part->getCharset());
be correctly configured, one reason for the fact that it works on
other systems may be that today still most (European) systems out
there are running their cron jobs as ISO8859 - and most mails have
this very same encoding.
Best regards,
Thomas Gelf
NB: Sorry for not attaching a unified diff for this one-line fix - I
still need to clean up my code, remove debugging output etc...