[CalendarServer-dev] [Calendar and Contacts Server] #409: Exception: Characterset does not work for french Translation
Calendar and Contacts Server
trac at macosforge.org
Sun Feb 6 13:41:58 PST 2011
#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
More information about the calendarserver-dev
mailing list