[Trac] Wiki upgrade :: 'ascii' codec can't decode byte 0xe2 in position 1169

Christian Boos cboos at neuf.fr
Tue Apr 4 05:50:06 CDT 2006


B S Srinidhi wrote:
> Hello All,
>
> I did an 'svn update' of the trunk and when I try to do a 'wiki
> upgrade', I get the following error:
>
> # trac-admin ~/public_html/trac/ wiki upgrade
>  /usr/share/trac/wiki-default/TracReports => TracReports
> Command failed: 'ascii' codec can't decode byte 0xe2 in position 1169: ordinal not in range(128)
>
> The error message clearly indicates that there's some non-ascii code in
> TracReports, which is also confirmed by the following output:
>
> # head -c 1200 /usr/share/trac/wiki-default/TracReports | tail -c 55 ;echo
> default handler for the âView Ticketsâ navigation i
>
> Can I simply remove those characters from there and have (decent) double
> quotes instead? :)
>
> Srinidhi.
>   

Actually, that double quote was a quite decent UTF-8 double quote :)
It was the TracAdmin which was not doing the right thing with those
UTF-8 encoded files.

You should try out http://projects.edgewall.com/trac/changeset/3101

Thanks for the report!

-- Christian



More information about the Trac mailing list