Submitter | phabricator |
---|---|
Date | March 2, 2022, 11:31 p.m. |
Message ID | <differential-rev-PHID-DREV-iy7xmykrtqpufpk7nyuj-req@mercurial-scm.org> |
Download | mbox | patch |
Permalink | /patch/50649/ |
State | New |
Headers | show |
Comments
Patch
diff --git a/mercurial/pure/charencode.py b/mercurial/pure/charencode.py --- a/mercurial/pure/charencode.py +++ b/mercurial/pure/charencode.py @@ -67,10 +67,7 @@ raise ValueError -if pycompat.ispy3: - _utf8strict = r'surrogatepass' -else: - _utf8strict = r'strict' +_utf8strict = r'surrogatepass' def jsonescapeu8fallback(u8chars, paranoid):