I know that the svn repo is now for legacy purposes only, but I doubt it is intended that the online source browser should raise exceptions.

(See report below.)

All the best,


-------- Original Message --------
Subject: viewVC shows traceback on non utf-8 module markup
Date: Thu, 28 Apr 2011 17:47:12 +0900
From: Ikkei Shimomura <ikkei.shimomura@gmail.com>
To: webmaster@python.org

here is a report, I found some module markup shows traceback.

like this:

> UnicodeDecodeError: 'utf8' codec can't decode byte 0xe7 in position 1428: invalid continuation byte

I do not know about latin-1 coding, this is just note what I found at
that position It's "\xe7"

> ... by Fran\xe7o  ...

and as I read the traceback, viewvc and pygment assumes utf-8
encoding, its hard-coded.

Other modules which use non- utf8 encoding (searched by grep -r coding\: *.py)
inspect, pydoc were ok. tarfile, shlex were not.

Excute me for my writting broken English.
Ikkei Shimomura