[Python-Dev] Fwd: viewVC shows traceback on non utf-8 module markup
Michael Foord
michael at voidspace.org.uk
Fri Apr 29 22:03:49 CEST 2011
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,
Michael
-------- 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 at gmail.com>
To: webmaster at python.org
Hi,
here is a report, I found some module markup shows traceback.
like this:
http://svn.python.org/view/python/trunk/Lib/heapq.py?view=markup
> 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-dev/attachments/20110429/f3c93590/attachment.html>
More information about the Python-Dev
mailing list