id,summary,reporter,owner,description,type,status,priority,milestone,component,version,resolution,keywords,cc 60,mailto_trac + german umlaut problem,alex@…,bas,"Hi, if i set mailto_link in email2trac.config to 1 and receive a email with a german Umlaut (ä,ü,ö) in the subject, i get the following error: {{{ May 14 14:53:00 localhost email2trac: Traceback (most recent call last): May 14 14:53:00 localhost email2trac: File ""/usr/local/bin/email2trac"", line 1140, in ? tktparser.parse(sys.stdin) May 14 14:53:00 localhost email2trac: File ""/usr/local/bin/email2trac"", line 728, in parse self.new_ticket(m, component) May 14 14:53:00 localhost email2trac: File ""/usr/local/bin/email2trac"", line 674, in new_ticket mailto = self.html_mailto_link(tkt['summary'], ticket_id, body_text) May 14 14:53:00 localhost email2trac: File ""/usr/local/bin/email2trac"", line 894, in html_mailto_link str = 'mailto:%s?Subject=%s&Cc=%s' %( May 14 14:53:00 localhost email2trac: File ""urllib.py"", line 1110, in quote res = map(safe_map.__getitem__, s) May 14 14:53:00 localhost email2trac: KeyError: u'\xdc' }}} I use email2trac with fetchmail + procmail fetching mails from exchange. If i deactivate ""mailto_link"" everything works fine. Enclosed is a mail header that leads to that problem described above: {{{ Received: from mail.exchange.local ([192.168.0.101]) by mail.exchange.local ([192.168.0.101]) with mapi; Wed, 14 May 2008 12:30:38 +0200 From: XXX To: support Date: Wed, 14 May 2008 12:30:37 +0200 Subject: =?Windows-1252?Q?=DCberTestTicket2?= Thread-Topic: =?Windows-1252?Q?=DCberTestTicket2?= Thread-Index: AQHIta2Mj/TcnoIsRUu4khLyH1a30A== Message-ID: <1E80D902A0C956449784BCD6BCDF18157FB6DB62DC@mail.exchange.local> Accept-Language: en-US, de-DE Content-Language: en-US X-MS-Exchange-Organization-AuthAs: Internal X-MS-Exchange-Organization-AuthMechanism: 04 X-MS-Exchange-Organization-AuthSource: mail.exchange.local X-MS-Has-Attach: X-MS-Exchange-Organization-SCL: -1 X-MS-TNEF-Correlator: acceptlanguage: en-US, de-DE Content-Type: text/plain; charset=""Windows-1252"" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 }}} Is there a possible workaround? Thanks for the help, alex",defect,closed,major,,email2trac,0.13,fixed,,german umlaut mailto_trac