Modify

Opened 17 years ago

Closed 17 years ago

Last modified 17 years ago

#2548 closed defect (duplicate)

Error when ticket contains accents

Reported by: ngryman Owned by: Matt Good
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 Changed 17 years ago by anonymous

Resolution: duplicate
Status: newclosed

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 17 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

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Matt Good.
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.