Craig A wrote:
This may well be fixed by trying python 2.6 (or even 2.5) as you
suggested.
I tried Python 2.6.6 (could not find an msi installer for 2.5.5) and
voila! It works now, no more problems with BOM characters.
Thanks for your help Chris, I am glad this is working now.
Craig A wrote:
I am getting an error similar to what was reported some time ago in
this post:
http://groups.google.com/group/reviewboard/browse_thread/thread/56fb450ceaef45c1
UnicodeDecodeError: 'ascii' codec can't decode byte 0xef in position
1285: ordinal not in range(128)
Specifically
Hi Chris, thanks for taking time to look at this issue.
If this is a new file the diff will include the BOM.
The file is not new, but in fact the BOM is being introduced as part
of the change (the config file was rewritten using C# XML helper
classes - that introduces the BOM in the new file)
Craig A wrote:
You mention you've customized postreview ...
is it possible that your new code has the Unicode assumption in
it rather than the original RBtools.
I don't think so, the relevant line of code looks like this:
return content_type, content
The trace back
I am getting an error similar to what was reported some time ago in
this post:
http://groups.google.com/group/reviewboard/browse_thread/thread/56fb450ceaef45c1
UnicodeDecodeError: 'ascii' codec can't decode byte 0xef in position
1285: ordinal not in range(128)
I then went in to the rbtools