<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
</head>
<body text="#000000" bgcolor="#ffffff">
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. <br>
<br>
(See report below.)<br>
<br>
All the best,<br>
<br>
Michael<br>
<br>
-------- Original Message --------
<table class="moz-email-headers-table" border="0" cellpadding="0"
cellspacing="0">
<tbody>
<tr>
<th nowrap="nowrap" valign="BASELINE" align="RIGHT">Subject: </th>
<td>viewVC shows traceback on non utf-8 module markup</td>
</tr>
<tr>
<th nowrap="nowrap" valign="BASELINE" align="RIGHT">Date: </th>
<td>Thu, 28 Apr 2011 17:47:12 +0900</td>
</tr>
<tr>
<th nowrap="nowrap" valign="BASELINE" align="RIGHT">From: </th>
<td>Ikkei Shimomura <a class="moz-txt-link-rfc2396E" href="mailto:ikkei.shimomura@gmail.com"><ikkei.shimomura@gmail.com></a></td>
</tr>
<tr>
<th nowrap="nowrap" valign="BASELINE" align="RIGHT">To: </th>
<td><a class="moz-txt-link-abbreviated" href="mailto:webmaster@python.org">webmaster@python.org</a></td>
</tr>
</tbody>
</table>
<br>
<br>
<pre>Hi,
here is a report, I found some module markup shows traceback.
like this:
<a class="moz-txt-link-freetext" href="http://svn.python.org/view/python/trunk/Lib/heapq.py?view=markup">http://svn.python.org/view/python/trunk/Lib/heapq.py?view=markup</a>
> 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
</pre>
</body>
</html>