Bug 36739 - helpdesk message is limited to ISO8859-1 (no utf8 possible)
helpdesk message is limited to ISO8859-1 (no utf8 possible)
Status: CLOSED FIXED
Product: UCS@school
Classification: Unclassified
Component: UMC - Helpdesk
UCS@school 4.0
Other Linux
: P5 normal (vote)
: UCS@school 4.0 R2
Assigned To: Florian Best
Alexander Kramer
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2014-11-17 11:30 CET by Florian Best
Modified: 2015-05-11 19:24 CEST (History)
1 user (show)

See Also:
What kind of report is it?: ---
What type of bug is this?: ---
Who will be affected by this bug?: ---
How will those affected feel about the bug?: ---
User Pain:
Enterprise Customer affected?:
School Customer affected?:
ISV affected?:
Waiting Support:
Flags outvoted (downgraded) after PO Review:
Ticket number:
Bug group (optional):
Max CVSS v3 score:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Florian Best univentionstaff 2014-11-17 11:30:03 CET
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)
Comment 1 Florian Best univentionstaff 2014-11-17 13:19:24 CET
The message also does not contain a Content-Type header.
Should be set:
Content-Type: text/plain; charset=UTF-8\r\n
Comment 2 Florian Best univentionstaff 2015-04-17 13:27:07 CEST
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
Comment 3 Alexander Kramer univentionstaff 2015-04-22 13:05:37 CEST
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
Comment 4 Florian Best univentionstaff 2015-05-11 19:24:51 CEST
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".