#409: Exception: Characterset does not work for french Translation ----------------------------------+----------------------------------------- Reporter: mail@… | Owner: wsanchez@… Type: Defect | Status: new Priority: 5: Not set | Milestone: Component: Calendar Server | Severity: Other Keywords: | Radar: ----------------------------------+-----------------------------------------
Comment(by mail@…): With {{{ Index: CalendarServer/twistedcaldav/mail.py =================================================================== --- CalendarServer/twistedcaldav/mail.py (Revision 6892) +++ CalendarServer/twistedcaldav/mail.py (Arbeitskopie) @@ -1024,10 +1024,6 @@ else: formatString = _("Event reply: %(summary)s") - # The translations we get back from gettext are utf-8 encoded - # strings, so convert to unicode - formatString = formatString.decode("utf-8") - details['subject'] = msg['Subject'] = formatString % { 'summary' : details['summary'] } }}} it works for me and the mails are nicely displayed. But maybe the have a bad encoding ... -- Ticket URL: <http://trac.calendarserver.org/ticket/409#comment:1> Calendar and Contacts Server </> HTTP/WebDAV/CalDAV Server _______________________________________________ calendarserver-dev mailing list calendarserver-dev@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/calendarserver-dev