Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

svn diff with gbk #151

Open
xinglinsky opened this issue Apr 28, 2020 · 1 comment
Open

svn diff with gbk #151

xinglinsky opened this issue Apr 28, 2020 · 1 comment

Comments

@xinglinsky
Copy link

File "C:\dev\Anaconda3\envs\pack\lib\site-packages\svn\common.py", line 474, in diff
self.run_command(
File "C:\dev\Anaconda3\envs\pack\lib\site-packages\svn\common.py", line 60, in run_command
return self.external_command(cmd, environment=self.__env, **kwargs)
File "C:\dev\Anaconda3\envs\pack\lib\site-packages\svn\common_base.py", line 24, in external_command
subprocess.check_output(
File "C:\dev\Anaconda3\envs\pack\lib\subprocess.py", line 411, in check_output
return run(*popenargs, stdout=PIPE, timeout=timeout, check=True,
File "C:\dev\Anaconda3\envs\pack\lib\subprocess.py", line 491, in run
stdout, stderr = process.communicate(input, timeout=timeout)
File "C:\dev\Anaconda3\envs\pack\lib\subprocess.py", line 1011, in communicate
stdout = self.stdout.read()
UnicodeDecodeError: 'gbk' codec can't decode byte 0xae in position 554: illegal multibyte sequence

@dsoprea
Copy link
Owner

dsoprea commented Apr 28, 2020

It's obviously a Unicode issue, but it's gonna be tough to investigate this without being able to personally reproduce it. Can you look into it, try to solve it, and push a pull-request? If it's a bug in this project, it should be an easy fix.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants