Modify

Opened 8 years ago

Closed 8 years ago

Last modified 7 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
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 8 years ago by anonymous

  • Owner changed from bas to anonymous
  • Status changed from new to assigned

Thanks it will be applied to trunk and a new version

comment:2 Changed 8 years ago by bas

  • Owner changed from anonymous to bas
  • Status changed from assigned to new

comment:3 Changed 8 years ago by bas

  • Resolution set to fixed
  • Status changed from new to closed

Fixed in new version

Add Comment

Modify Ticket

Action
as closed .
The resolution will be deleted. Next status will be 'reopened'.
Author


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

 
Note: See TracTickets for help on using tickets.