Opened 9 years ago

Last modified 7 years ago

#2711 new defect

[Patch] Search fails with accented words

Reported by: clp Owned by: deltroo
Priority: normal Component: SearchAttachmentsPlugin
Severity: normal Keywords:
Cc: Trac Release: 0.10


I use trac with spanish documentation. When searching for accented word, the search fails (ascii encoding problems with commands module).

In lines 87 and 258 I replaced with encode string function. And now it doesn't fail.

 error , output = commands.getstatusoutput ( cmd.encode('utf-8') )

Best regards,

Attachments (0)

Change History (1)

comment:1 Changed 7 years ago by rjollos

  • Summary changed from Search fails with accented words to [Patch] Search fails with accented words

Add Comment

Modify Ticket

as new The owner will remain deltroo.

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

Note: See TracTickets for help on using tickets.