Re: UnicodeDecodeError with Visual Studio files, RB 1.5.4, RBTools-0.3.2 (Python 2.7.1)

2011-04-05 Thread Chris Clark
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.

Re: UnicodeDecodeError with Visual Studio files, RB 1.5.4, RBTools-0.3.2 (Python 2.7.1)

2011-03-25 Thread Chris Clark
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

Re: UnicodeDecodeError with Visual Studio files, RB 1.5.4, RBTools-0.3.2 (Python 2.7.1)

2011-03-25 Thread Craig A
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)

Re: UnicodeDecodeError with Visual Studio files, RB 1.5.4, RBTools-0.3.2 (Python 2.7.1)

2011-03-25 Thread Chris Clark
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

UnicodeDecodeError with Visual Studio files, RB 1.5.4, RBTools-0.3.2 (Python 2.7.1)

2011-03-23 Thread Craig A
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