Modify

Opened 16 years ago

Last modified 14 years ago

#2711 new defect

[Patch] Search fails with accented words

Reported by: Carlos López Pérez 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 14 years ago by Ryan J Ollos

Summary: Search fails with accented words[Patch] Search fails with accented words

Modify Ticket

Change Properties
Set your email in Preferences
Action
as new The owner will remain deltroo.

Add Comment


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

 
Note: See TracTickets for help on using tickets.