review/rutil.py @ 9b3fda6ad1df

guts: remove the kick script
author Steve Losh <steve@stevelosh.com>
date Thu, 27 Jan 2011 18:04:52 -0500
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')