diff mercurial/strutil.py @ 26878:d7e83f106459

encoding: use getutf8char in toutf8b This correctly avoids the ambiguity of U+FFFD already present in the input and similar confusion by working a character at a time.
author Matt Mackall <mpm@selenic.com>
date Thu, 05 Nov 2015 17:21:43 -0600
parents b723f05ec49b
children
line wrap: on
line diff