Modify

Opened 18 years ago

Closed 18 years ago

Last modified 17 years ago

#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 18 years ago by anonymous

Owner: changed from Bas van der Vlies to anonymous
Status: newassigned

Thanks it will be applied to trunk and a new version

comment:2 Changed 18 years ago by Bas van der Vlies

Owner: changed from anonymous to Bas van der Vlies
Status: assignednew

comment:3 Changed 18 years ago by Bas van der Vlies

Resolution: fixed
Status: newclosed

Fixed in new version

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Bas van der Vlies.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment


E-mail address and name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.