Modify

Opened 7 years ago

Last modified 5 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

Description

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 5 years ago by rjollos

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

Add Comment

Modify Ticket

Action
as new The owner will remain deltroo.
Author


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

 
Note: See TracTickets for help on using tickets.