Modify ↓
#450 closed defect (fixed)
It fails in the conversion of utf-8 when receieving the multipart message.
| Reported by: | anonymous | Owned by: | Bas van der Vlies |
|---|---|---|---|
| Priority: | normal | Component: | EmailtoTracScript |
| Severity: | normal | Keywords: | |
| Cc: | Trac Release: | 0.9 |
Description
fix
*** 493,499 ****
# Get contents charset (iso-8859-15 if not defined in mail headers)
# UTF-8 encode body_text
#
! charset = msg.get_content_charset('iso-8859-15')
ubody_text = unicode(body_text, charset).encode('utf-8')
elif part.get_content_type() == 'text/html':
--- 494,500 ----
# Get contents charset (iso-8859-15 if not defined in mail headers)
# UTF-8 encode body_text
#
! charset = part.get_content_charset('iso-8859-15')
ubody_text = unicode(body_text, charset).encode('utf-8')
elif part.get_content_type() == 'text/html':
Attachments (0)
Change History (3)
comment:1 Changed 19 years ago by
| Owner: | changed from Bas van der Vlies to anonymous |
|---|---|
| Status: | new → assigned |
comment:2 Changed 19 years ago by
| Owner: | changed from anonymous to Bas van der Vlies |
|---|---|
| Status: | assigned → new |
Note: See
TracTickets for help on using
tickets.



Thanks it will be applied to trunk and a new version