MantisBT - v2.4 Release (Closed)
View Issue Details
0000892v2.4 Release (Closed)[All Projects] Generalpublic2011-07-15 22:502011-08-16 23:40
Assigned Torobertbasic 
PlatformOSOS Version
Product Version 
Target VersionFixed in Version2.4 
Summary0000892: task email charset encoding does not work
DescriptionWe are using w2p in English, but all the contents are in Hungarian, encoded in UTF-8. The whole site is also encoded in UTF-8, as it is set in locales/*/locales.php.

However, the task email notifications were sent out with iso-8859-15 charset set in the Content-Type header, but the content itself was in UTF-8 in reality.

Content-Type: text/plain; charset="iso-8859-15"

This made the mails quite unreadable where accents were present.
Additional InformationI made a fix for queuescanner.php, that works for me, but I am not sure if it is a general solution:

Index: queuescanner.php
--- queuescanner.php (revision 1985)
+++ queuescanner.php (working copy)
@@ -11,6 +11,8 @@
 $AppUI = new CAppUI;

+$locale_char_set = 'utf-8';
 $queue = new w2p_Core_EventQueue();

TagsNo tags attached.
has duplicate 0000803closed robertbasic Pending Requests Task reminders wrong codification 
Attached Files

2011-07-21 06:08   
Assigning to myself, as most likely is related to or is a duplicate of 0000803.

Thanks for the possible fix bucienator, will test and patch if it's OK.
2011-07-21 11:16   
bucienator what version of web2project are you using? I think caseydk fixed this issue with this commit

Please see classes/w2p/Utilities/Mail.class.php and check line 82.

2011-07-22 02:01   
I am using version 2.3.1, which seems not to have the above patch applied. However, the trunk has it, so I guess this issue will be fixed in the next release.

Thank you, and keep up the good work!
2011-07-22 02:38   
Yup, this was fixed by that commit.

Thanks bucienator!
2011-07-22 02:39   
Fixed by caseydk with this commit

Issue History
2011-07-15 22:50bucienatorNew Issue
2011-07-21 06:06robertbasicRelationship addedrelated to 0000803
2011-07-21 06:06robertbasicStatusnew => assigned
2011-07-21 06:06robertbasicAssigned To => robertbasic
2011-07-21 06:08robertbasicNote Added: 0002055
2011-07-21 11:16robertbasicNote Added: 0002056
2011-07-21 11:20robertbasicRelationship deletedrelated to 0000803
2011-07-21 11:20robertbasicRelationship addedhas duplicate 0000803
2011-07-22 02:01bucienatorNote Added: 0002062
2011-07-22 02:38robertbasicNote Added: 0002063
2011-07-22 02:39robertbasicNote Added: 0002064
2011-07-22 02:39robertbasicStatusassigned => resolved
2011-07-22 02:39robertbasicResolutionopen => fixed
2011-08-06 23:19caseydkProjectPending Requests => v2.4 Release (Closed)
2011-08-16 23:40caseydkStatusresolved => closed
2011-08-16 23:40caseydkFixed in Version => 2.4