view mercurial/__init__.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 9117c6561b0b
children 4374d819ccd5
line wrap: on
line source