Univention Bugzilla – Bug 36739
helpdesk message is limited to ISO8859-1 (no utf8 possible)
Last modified: 2015-05-11 19:24:51 CEST
File "/usr/lib/pymodules/python2.7/notifier/threads.py", line 82, in _run tmp = self._function() File "/usr/lib/pymodules/python2.7/notifier/__init__.py", line 104, in __call__ return self._function( *tmp, **self._kwargs ) File "/usr/lib/pymodules/python2.7/univention/management/console/modules/helpdesk/__init__.py", line 83, in _send_thread msg = msg.encode('latin1') UnicodeEncodeError: 'latin-1' codec can't encode character u'\u2192' in position 168: ordinal not in range(256)
The message also does not contain a Content-Type header. Should be set: Content-Type: text/plain; charset=UTF-8\r\n
Messages now can contain UTF-8 characters like '→'. Even the subject header may contain UTF-8 (if the school name or category contains such a character). The correct content-type header is set. Package: ucs-school-umc-helpdesk Fix: svn r59785, r59786
OK - debian changelog OK - xml changelog OK - utf8 support Absender: Daniel Krause (d.krause1) Schule: DEV School E-Mail-Adresse: d.krause1@school.two Telefonnummer: 0815 Kategorie: Hardware Nachricht: ←ŧ←ŧ←ŧ←↓↓ŋŧ←¶¶ŧŧ¶€ŧ←¶ŧ€¶ŧ←←¶ŧ¶€←ŧ←¶€ŧ← OK - content type header Date: Wed, 22 Apr 2015 13:04:34 +0200 Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: base64 X-Mailer: Zarafa 7.1.12-48726
UCS@school 4.0 R2 v1 has been released: http://docs.univention.de/release-notes-ucsschool-4.0R2v1-de.html If this error occurs again, please use "Clone This Bug".