changeset 48907 | b677bccf74b9 |
parent 48875 | 6000f5b25c9b |
child 51722 | 43adbe03079b |
--- a/mercurial/pure/charencode.py Mon Feb 21 10:47:08 2022 -0700 +++ b/mercurial/pure/charencode.py Mon Feb 21 10:47:31 2022 -0700 @@ -67,10 +67,7 @@ raise ValueError -if pycompat.ispy3: - _utf8strict = r'surrogatepass' -else: - _utf8strict = r'strict' +_utf8strict = r'surrogatepass' def jsonescapeu8fallback(u8chars, paranoid):