Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Fix UnicodeDecodeError when postgres is not configured in english #4253
This is actually a bit of a half-assed effort at fixing #4252. Having spent far too long staring at this and wondering what to do, I'm forced to the conclusion that the right answer is just to drop support for python 2, which appears to be completely broken when it comes to unicode in exception descriptions.
In the meantime, I hope this will make things slightly better.
@@ Coverage Diff @@ ## develop #4253 +/- ## =========================================== - Coverage 73.55% 73.55% -0.01% =========================================== Files 299 299 Lines 29806 29820 +14 Branches 4872 4876 +4 =========================================== + Hits 21923 21933 +10 Misses 6456 6456 - Partials 1427 1431 +4