Modify

Opened 7 years ago

Closed 22 months ago

#7645 closed defect (fixed)

[PATCH] UnicodeDecodeError when file to be edited cantains cyrillic characters.

Reported by: dnedelchev Owned by: matthew von rocketstein
Priority: high Component: EditFilesPlugin
Severity: normal Keywords: patch UnicodeDecodeError
Cc: Trac Release: 0.12

Description (last modified by Ryan J Ollos)

Before line#79

        return 'edit_file.html', {'edit_file':edit_file,
                                  'file_data':current}

insert:

        from trac.util.text import to_unicode
        current = to_unicode(current)

Tested with Trac-0.12 on WindowsXP and Linux.

Attachments (0)

Change History (1)

comment:1 Changed 22 months ago by Ryan J Ollos

Description: modified (diff)
Resolution: fixed
Status: newclosed

Fixed in [8676].

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain matthew von rocketstein.
The resolution will be deleted.

Add Comment


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

 
Note: See TracTickets for help on using tickets.