NOTE: If I manually browse to my reviewboard server and upload the
diff it accepts it no problem.

I am not doing anything to intentionally encode these files beyond the
default VS2K8 encoding.

Pv

On Feb 23, 4:20 pm, Pv <p...@swooby.com> wrote:
> I have installed a fresh copy of Win7 x64 and VS2K8.
> I then installed Py2.6 + RBTools 0.2rc1.
> I create a new C# project, svn add, and then post-review the project.
> I get a "UnicodeDecodeError" on the Solution's/Project's xml/config
> files.
> There is a signature of "\xef\xbb\xbf" at the beginning of these
> files.
>
> So I do this:
> c:\>svn diff --diff-cmd=diff > output.txt
> c:\>python.exe>>>f = open('output.txt')
> >>>s = f.read()
> >>>unicode(s)
>
> ...
> UnicodeDecodeError: ...
>
> NOTE that a "s.encode('utf8')" seems to work fine, but if I alter
> rbtools to do that, the reviewboard server croaks on the upload.
>
> Has anyone seen this issue recently?

-- 
Want to help the Review Board project? Donate today at 
http://www.reviewboard.org/donate/
Happy user? Let us know at http://www.reviewboard.org/users/
-~----------~----~----~----~------~----~------~--~---
To unsubscribe from this group, send email to 
reviewboard+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/reviewboard?hl=en

Reply via email to