Modify

Opened 7 years ago

Closed 7 years ago

Last modified 7 years ago

#2548 closed defect (duplicate)

Error when ticket contains accents

Reported by: ngryman Owned by: mgood
Priority: normal Component: WikiTicketCalendarMacro
Severity: normal Keywords:
Cc: Trac Release: 0.10

Description

Hi, I've got this error when any of my ticket contains an accent (i'm french):

Error: Macro WikiTicketCalendar(*,*) failed

ascii<div style="font-size: 9px; color: #000000" align="left">Title with accent (é) (<a href="/ticket/46" title='Content with accent (é)' target="_blank">keyword1 keyword2 - ngryman</a>

I think it come from the encoding, but my knowledge of python is very limited. I tried a solution given in the ticket #64, without success.

Attachments (0)

Change History (2)

comment:1 follow-up: Changed 7 years ago by anonymous

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

Like alex wrote, the problem with special chars can be fixed like that: '...by changing the line "from cStringIO import StringIO" to "from StringIO import StringIO".'

See also: #3159

comment:2 in reply to: ↑ 1 Changed 7 years ago by anonymous

Replying to anonymous:

Like alex wrote, the problem with special chars can be fixed like that: '...by changing the line "from cStringIO import StringIO" to "from StringIO import StringIO".'

See also: #3159

The patch can be found here: #2617

Add Comment

Modify Ticket

Action
as closed The owner will remain mgood.
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.