review/rutil.py @ 9ee9ef21460c

ReviewChangeset loads precursors comments
author Christophe de Vienne <cdevienne@gmail.com>
date Mon, 27 Oct 2014 22:40:30 +0100
parents 96afc843f1a7
children (none)
from mercurial import encoding

def tolocal(s):
    return encoding.tolocal(s.encode('UTF-8'))

def fromlocal(s):
    return s.decode(encoding.encoding, 'replace')